- public MethodRef(Type.Class c, String name, Type ret, Type[] args) {
- super(c, name, getDescriptor(ret, args));
- }
- /** Equivalent to MethodRef(new Type.Class(s), ...)
- @see #MethodRef(Type.Class, String, Type, Type[])
- */
- public MethodRef(String s, String name, Type ret, Type[] args) {
- this(Type.instance(s).asClass(), name, ret, args);
+ public MethodRef(Type.Class c, String name, Type returnType, Type[] argTypes) {
+ super(c, name);
+ this.argTypes = argTypes;
+ this.returnType = returnType;