resolve compile errors
[org.ibex.classgen.git] / src / org / ibex / classgen / ClassFile.java
index 9682150..46f5e3e 100644 (file)
@@ -100,11 +100,6 @@ public class ClassFile extends Type.Class.Body {
         methods.addElement(mg);
         return mg;
     }
-    public final MethodGen addMethod(Type.Class.Method m, int flags) {
-        MethodGen mg = new MethodGen(m, flags);
-        methods.addElement(mg);
-        return mg;
-    }
     
     /** Adds a new field to this class 
         @param name The name of the filed (not the signature, just the name)