class CLLocalVariableTypeTableAttribute extends CLAttributeInfo
| Modifier and Type | Field and Description |
|---|---|
ArrayList<CLLocalVariableTypeInfo> |
localVariableTypeTable
LocalVariableTypeTable_attribute.local_variable_type_table item.
|
int |
localVariableTypeTableLength
LocalVariableTypeTable_attribute.
|
attributeLength, attributeNameIndex| Constructor and Description |
|---|
CLLocalVariableTypeTableAttribute(int attributeNameIndex,
long attributeLength,
int localVariableTypeTableLength,
ArrayList<CLLocalVariableTypeInfo> localVariableTypeTable)
Construct a CLLocalVariableTypeTableAttribute 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 localVariableTypeTableLength
public ArrayList<CLLocalVariableTypeInfo> localVariableTypeTable
public CLLocalVariableTypeTableAttribute(int attributeNameIndex,
long attributeLength,
int localVariableTypeTableLength,
ArrayList<CLLocalVariableTypeInfo> localVariableTypeTable)
attributeNameIndex - LocalVariableTypeTable_attribute.attribute_name_index item.attributeLength - LocalVariableTypeTable_attribute.attribute_length item.localVariableTypeTableLength - LocalVariableTypeTable_attribute.
local_variable_type_table_length item.localVariableTypeTable - LocalVariableTypeTable_attribute.local_variable_type_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.