1 package org.ibex.classgen;
3 /** This class represents Field references. It is used as an argument to the
4 GETFIELD, PUTFIELD, GETSTATIC, and PUTSTATCI bytecodes
10 public class FieldRef extends ClassGen.FieldOrMethodRef {
11 /** Create a reference to field <i>name</i> of class <i>c</i> with the type <i>t</i> */
12 public FieldRef(Type.Object c, String name, Type t) { super(c,name,t.getDescriptor()); }
13 /** Equivalent to FieldRef(new Type.Object(s),...)
14 @see #FieldRef(Type.Object,String,Type,)
16 public FieldRef(String s, String name, Type t) { this(new Type.Object(s),name,t); }