Class LocalVariableTypeTable
java.lang.Object
org.apache.bcel.classfile.Attribute
org.apache.bcel.classfile.LocalVariableTypeTable
- All Implemented Interfaces:
Serializable, Cloneable, Node
- See Also:
-
Field Summary
Fields inherited from class Attribute
constant_pool, length, name_index, tag -
Constructor Summary
ConstructorsConstructorDescriptionLocalVariableTypeTable(int name_index, int length, LocalVariable[] local_variable_table, ConstantPool constant_pool) -
Method Summary
Modifier and TypeMethodDescriptionvoidCalled by objects that are traversing the nodes of the tree implicitely defined by the contents of a Java class.copy(ConstantPool constant_pool) final voiddump(DataOutputStream file) Dump attribute to file stream in binary format.final LocalVariablegetLocalVariable(int index) final LocalVariable[]final intfinal voidsetLocalVariableTable(LocalVariable[] local_variable_table) final StringtoString()Methods inherited from class Attribute
addAttributeReader, clone, getConstantPool, getLength, getName, getNameIndex, getTag, readAttribute, removeAttributeReader, setConstantPool, setLength, setNameIndex
-
Constructor Details
-
LocalVariableTypeTable
-
LocalVariableTypeTable
public LocalVariableTypeTable(int name_index, int length, LocalVariable[] local_variable_table, ConstantPool constant_pool)
-
-
Method Details
-
accept
Description copied from class:AttributeCalled by objects that are traversing the nodes of the tree implicitely defined by the contents of a Java class. I.e., the hierarchy of methods, fields, attributes, etc. spawns a tree of objects. -
dump
Description copied from class:AttributeDump attribute to file stream in binary format.- Overrides:
dumpin classAttribute- Parameters:
file- Output file stream- Throws:
IOException
-
getLocalVariableTypeTable
-
getLocalVariable
-
setLocalVariableTable
-
toString
-
copy
-
getTableLength
public final int getTableLength()
-