class CLLineNumberTableAttribute extends CLAttributeInfo
| Modifier and Type | Field and Description |
|---|---|
ArrayList<CLLineNumberInfo> |
lineNumberTable
LineNumberTable_attribute.line_number_table item.
|
int |
lineNumberTableLength
LineNumberTable_attribute.line_number_table_length item.
|
attributeLength, attributeNameIndex| Constructor and Description |
|---|
CLLineNumberTableAttribute(int attributeNameIndex,
long attributeLength,
int lineNumberTableLength,
ArrayList<CLLineNumberInfo> lineNumberTable)
Construct a CLLineNumberTableAttribute 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 lineNumberTableLength
public ArrayList<CLLineNumberInfo> lineNumberTable
public CLLineNumberTableAttribute(int attributeNameIndex,
long attributeLength,
int lineNumberTableLength,
ArrayList<CLLineNumberInfo> lineNumberTable)
attributeNameIndex - LineNumberTable_attribute.attribute_name_index item.attributeLength - LineNumberTable_attribute.attribute_length item.lineNumberTableLength - LineNumberTable_attribute.line_number_table_length item.lineNumberTable - LineNumberTable_attribute.line_number_table item.public void write(CLOutputStream out) throws IOException
CLAttributeInfowrite in class CLAttributeInfoout - output stream.IOException - if an error occurs while writing.public void writeToStdOut(PrettyPrinter p)
CLAttributeInfowriteToStdOut in class CLAttributeInfop - for pretty printing with indentation.