- public FieldRef(Type.Object c, String name, Type t) { super(c,name,t.getDescriptor()); }
- /** Equivalent to FieldRef(new Type.Object(s),...)
- @see #FieldRef(Type.Object,String,Type,)
- */
- public FieldRef(String s, String name, Type t) { this(Type.fromDescriptor(s).asObject(), name, t); }
+ public final Type type;
+ public FieldRef(Type.Class c, String name, Type t) { super(c, name); this.type = t; }
+ public String getDescriptor() { return name; }