- FieldGen(ClassGen owner, String name,Type type, int flags) {
+ FieldGen(CPGen cp, DataInput in) throws IOException {
+ this.cp = cp;
+ flags = in.readShort();
+ name = cp.getUtf8ByIndex(in.readShort());
+ type = cp.getType(in.readShort());
+ attrs = new ClassGen.AttrGen(cp, in);
+ }
+
+ FieldGen(ClassGen owner, String name, Type type, int flags) {