All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----harpoon.ClassFile.Raw.FieldInfo
field_info
structure.
descriptor_index
item must be a
valid index into the constant_pool
table.
name_index
item must be a valid
index into the constant_pool
table.
protected ClassFile parent
public AccessFlags access_flags
public int name_index
name_index
item must be a valid
index into the constant_pool
table. The
constant_pool
entry at that index must be a
CONSTANT_Utf8_info
structure which must represent a
valid Java field name stored as a simple (not fully qualified)
name, that is, as a Java identifier.
public int descriptor_index
descriptor_index
item must be a
valid index into the constant_pool
table. The
constant_pool
entry at that index must be a
CONSTANT_Utf8_info
structure which must represent a
valid Java field descriptor.
public Attribute attributes[]
The only attributed defined for the
attributes
table of a field_info
structure by this specification is the
ConstantValue
attribute.
public FieldInfo(ClassFile parent, AccessFlags access_flags, int name_index, int descriptor_index, Attribute attributes[])
public void read(ClassFile p, ClassDataInputStream in) throws IOException
public void write(ClassDataOutputStream out) throws IOException
public ConstantUtf8 name_index()
public ConstantUtf8 descriptor_index()
public String name()
public String descriptor()
public void print(PrintWriter pw, int indent)
All Packages Class Hierarchy This Package Previous Next Index