StaticFieldRef sFieldRef = new StaticFieldRefRead().load(in);
((StaticField) fieldRef).setStaticField(sFieldRef);
} else {
//the fied is an instance field
ClassRef classref = new ClassRefRead().load(in);
byte tok = in.readByte();
FieldRef fieldRef = new InstanceField();
fieldDescriptorInfo.setFieldRef(fieldRef);
((InstanceField) fieldRef).setClass_(classref);