public class LocalVariableTypeTable extends Attribute
constant_pool, length, name_index, tag
Constructor and Description |
---|
LocalVariableTypeTable(int name_index,
int length,
LocalVariable[] local_variable_table,
ConstantPool constant_pool) |
LocalVariableTypeTable(LocalVariableTypeTable c) |
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor v)
Called by objects that are traversing the nodes of the tree implicitely
defined by the contents of a Java class.
|
Attribute |
copy(ConstantPool constant_pool) |
void |
dump(DataOutputStream file)
Dump attribute to file stream in binary format.
|
LocalVariable |
getLocalVariable(int index) |
LocalVariable[] |
getLocalVariableTypeTable() |
int |
getTableLength() |
void |
setLocalVariableTable(LocalVariable[] local_variable_table) |
String |
toString() |
addAttributeReader, clone, getConstantPool, getLength, getName, getNameIndex, getTag, readAttribute, removeAttributeReader, setConstantPool, setLength, setNameIndex
public LocalVariableTypeTable(LocalVariableTypeTable c)
public LocalVariableTypeTable(int name_index, int length, LocalVariable[] local_variable_table, ConstantPool constant_pool)
public void accept(Visitor v)
Attribute
public final void dump(DataOutputStream file) throws IOException
Attribute
dump
in class Attribute
file
- Output file streamIOException
public final LocalVariable[] getLocalVariableTypeTable()
public final LocalVariable getLocalVariable(int index)
public final void setLocalVariableTable(LocalVariable[] local_variable_table)
public final String toString()
public Attribute copy(ConstantPool constant_pool)
public final int getTableLength()
Copyright © 2017. All rights reserved.