X-Git-Url: http://git.megacz.com/?p=org.ibex.classgen.git;a=blobdiff_plain;f=src%2Forg%2Fibex%2Fclassgen%2FMethodRef.java;h=deec8197417d53eca82ad64a721c08dc671d7d08;hp=52ccf2fa74ae1a48dbb262102732963a8c492f69;hb=50a344886756b00af0e30d548a7a86822ef7e962;hpb=2b7157f2b687f5500bf45ab2c9175ef1b33ccc48
diff --git a/src/org/ibex/classgen/MethodRef.java b/src/org/ibex/classgen/MethodRef.java
index 52ccf2f..deec819 100644
--- a/src/org/ibex/classgen/MethodRef.java
+++ b/src/org/ibex/classgen/MethodRef.java
@@ -11,10 +11,10 @@ public class MethodRef extends ClassGen.FieldOrMethodRef {
/** Create a reference to method name of class c with the return type ret and the
arguments args */
public MethodRef(Type.Object c, String name, Type ret, Type[] args) {
- super(c,name,getDescriptor(ret,args));
+ super(c, name, getDescriptor(ret, args));
}
- /** Equivalent to MethodRef(new Type.Object(s),...)
- @see #MethodRef(Type.Object,String,Type,Type[])
+ /** Equivalent to MethodRef(new Type.Object(s), ...)
+ @see #MethodRef(Type.Object, String, Type, Type[])
*/
public MethodRef(String s, String name, Type ret, Type[] args) {
this(Type.fromDescriptor(s).asObject(), name, ret, args);
@@ -35,8 +35,8 @@ public class MethodRef extends ClassGen.FieldOrMethodRef {
users don't need to be concerned with this though because MethodRef's are automatically converted
to MethodRef.I's when they are applied to an INVOKEINTERFACE bytecode */
public static class I extends MethodRef {
- public I(Type.Object c, String name, Type ret, Type[] args) { super(c,name,ret,args); }
- public I(String s, String name, Type ret, Type[] args) { super(s,name,ret,args); }
+ public I(Type.Object c, String name, Type ret, Type[] args) { super(c, name, ret, args); }
+ public I(String s, String name, Type ret, Type[] args) { super(s, name, ret, args); }
I(MethodRef m) { super(m); }
}
}