class CLLocalVariableTableAttribute extends CLAttributeInfo
| Modifier and Type | Field and Description |
|---|---|
ArrayList<CLLocalVariableInfo> |
localVariableTable
LocalVariableTable_attribute.local_variable_table item.
|
int |
localVariableTableLength
LocalVariableTable_attribute.local_variable_table_length item.
|
attributeLength, attributeNameIndex| Constructor and Description |
|---|
CLLocalVariableTableAttribute(int attributeNameIndex,
long attributeLength,
int localVariableTableLength,
ArrayList<CLLocalVariableInfo> localVariableTable)
Construct a CLLocalVariableTableAttribute 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 localVariableTableLength
public ArrayList<CLLocalVariableInfo> localVariableTable
public CLLocalVariableTableAttribute(int attributeNameIndex,
long attributeLength,
int localVariableTableLength,
ArrayList<CLLocalVariableInfo> localVariableTable)
attributeNameIndex - LocalVariableTable_attribute.attribute_name_index item.attributeLength - LocalVariableTable_attribute.attribute_length item.localVariableTableLength - LocalVariableTable_attribute.local_variable_table_length item.localVariableTable - LocalVariableTable_attribute.local_variable_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.