renamed Type.fromDescriptor() to Type.instance()
[org.ibex.classgen.git] / src / org / ibex / classgen / MethodRef.java
index 6460280..2f69e9a 100644 (file)
@@ -17,7 +17,7 @@ public class MethodRef extends ClassGen.FieldOrMethodRef {
         @see #MethodRef(Type.Class, String, Type, Type[])
     */
     public MethodRef(String s, String name, Type ret, Type[] args) {
-        this(Type.fromDescriptor(s).asClass(), name, ret, args);
+        this(Type.instance(s).asClass(), name, ret, args);
     }
     MethodRef(MethodRef i) { super(i); }