X-Git-Url: http://git.megacz.com/?p=org.ibex.classgen.git;a=blobdiff_plain;f=src%2Forg%2Fibex%2Fclassgen%2FFieldGen.java;h=ef4edcbdc1201a597763bcbbfe30cd5c235371ea;hp=cf269d01973fc7502fa1d14cca605e709785ebb4;hb=83234d9a36beec5161709321fbe71b5b57b2f73f;hpb=ca1b3654e5d2e7bf09933b565fb118571ca61258 diff --git a/src/org/ibex/classgen/FieldGen.java b/src/org/ibex/classgen/FieldGen.java index cf269d0..ef4edcb 100644 --- a/src/org/ibex/classgen/FieldGen.java +++ b/src/org/ibex/classgen/FieldGen.java @@ -5,7 +5,7 @@ import java.io.*; /** Class representing a field in a generated classfile @see ClassFile#addField */ public class FieldGen implements CGConst { - private final CPGen cp; + private final ConstantPool cp; private final String name; private final Type type; private final int flags; @@ -23,7 +23,7 @@ public class FieldGen implements CGConst { // FIXME: attrs } - FieldGen(CPGen cp, DataInput in) throws IOException { + FieldGen(ConstantPool cp, DataInput in) throws IOException { this.cp = cp; flags = in.readShort(); name = cp.getUtf8ByIndex(in.readShort());