pulled {Method,Member,Field}Ref into Type.Class; made them inner classes; much cleaner
[org.ibex.classgen.git] / src / org / ibex / classgen / FieldRef.java
diff --git a/src/org/ibex/classgen/FieldRef.java b/src/org/ibex/classgen/FieldRef.java
deleted file mode 100644 (file)
index b13fd4d..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-package org.ibex.classgen;
-
-/** This class represents Field references. It is used as an argument to the 
-GETFIELD, PUTFIELD, GETSTATIC, and PUTSTATCI bytecodes 
-@see CGConst#GETFIELD
-@see CGConst#PUTFIELD
-@see CGConst#GETSTATIC
-@see CGConst#PUTSTATIC
-*/
-public class FieldRef extends MemberRef {
-    /** Create a reference to field <i>name</i> of class <i>c</i> with the type <i>t</i>  */    
-    public final Type type;
-    public FieldRef(Type.Class c, String name, Type t) { super(c, name); this.type = t; }
-    public String getDescriptor() { return name; }
-}
-