All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----harpoon.ClassFile.Raw.Attribute.Attribute
ClassFile
,
field_info
, method_info
, and
Code_attribute
structures of the class
file
format. Attribute
is the superclass of the different
types of attribute information classes.
attribute_name_index
must be a valid unsigned
16-bit index into the constant pool of the class.
attribute_length
item indicates
the length of the attribute, excluding the initial six bytes.
protected ClassFile parent
public int attribute_name_index
attribute_name_index
must be a valid unsigned
16-bit index into the constant pool of the class. The
constant_pool
entry at
attribute_name_index
must be a
CONSTANT_Utf8
string representing the name of the
attribute.
protected Attribute(ClassFile p, int attribute_name_index)
public abstract long attribute_length()
attribute_length
item indicates
the length of the attribute, excluding the initial six bytes.
public static Attribute read(ClassFile parent, ClassDataInputStream in) throws IOException
public abstract void write(ClassDataOutputStream out) throws IOException
public ConstantUtf8 attribute_name_index()
public String attribute_name()
public String toString()
public void print(PrintWriter pw, int indent)
All Packages Class Hierarchy This Package Previous Next Index