Method Summary |
|
public void | addAttribute(AttributeInfo info) Appends an attribute. |
void | compact(ConstPool cp) Copies all constant pool items to a given new constant pool
and replaces the original items with the new ones. |
public int | getAccessFlags() Returns the access flags. |
public AttributeInfo | getAttribute(String name) Returns the attribute with the specified name. |
public List | getAttributes() Returns all the attributes. |
public ConstPool | getConstPool() Returns the constant pool table used
by this field_info . |
public int | getConstantValue() Finds a ConstantValue attribute and returns the index into
the constant_pool table. |
public String | getDescriptor() Returns the field descriptor. |
public String | getName() Returns the field name. |
void | prune(ConstPool cp) |
public void | setAccessFlags(int acc) Sets the access flags. |
public void | setDescriptor(String desc) Sets the field descriptor. |
public void | setName(String newName) Sets the field name. |
public String | toString() Returns a string representation of the object. |
void | write(DataOutputStream out) |