abstract class CLAttributeInfo extends Object
| Modifier and Type | Field and Description |
|---|---|
long |
attributeLength
attribute_info.attribute_length item.
|
int |
attributeNameIndex
attribute_info.attribute_name_index item.
|
| Modifier | Constructor and Description |
|---|---|
protected |
CLAttributeInfo(int attributeNameIndex,
long attributeLength)
Construct an CLAttributeInfo object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
write(CLOutputStream out)
Write the contents of this attribute to the specified output stream.
|
void |
writeToStdOut(PrettyPrinter p)
Write the contents of this attribute to STDOUT in a format similar to
that of javap.
|
public int attributeNameIndex
public long attributeLength
protected CLAttributeInfo(int attributeNameIndex,
long attributeLength)
attributeNameIndex - attribute_info.attribute_name_index item.attributeLength - attribute_info.attribute_length item.public void write(CLOutputStream out) throws IOException
out - output stream.IOException - if an error occurs while writing.public void writeToStdOut(PrettyPrinter p)
p - for pretty printing with indentation.