Package org.apache.bcel.classfile
Class LocalVariableTypeTable
java.lang.Object
org.apache.bcel.classfile.Attribute
org.apache.bcel.classfile.LocalVariableTypeTable
- Since:
- 6.0
-
Field Summary
Fields inherited from class org.apache.bcel.classfile.Attribute
constant_pool, length, name_index, tag
-
Constructor Summary
ConstructorDescriptionLocalVariableTypeTable
(int name_index, int length, LocalVariable[] local_variable_table, ConstantPool constant_pool) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Called by objects that are traversing the nodes of the tree implicitely defined by the contents of a Java class.copy
(ConstantPool constant_pool) final void
dump
(DataOutputStream file) Dump attribute to file stream in binary format.final LocalVariable
getLocalVariable
(int index) final LocalVariable[]
final int
final void
setLocalVariableTable
(LocalVariable[] local_variable_table) final String
toString()
Methods inherited from class org.apache.bcel.classfile.Attribute
addAttributeReader, addAttributeReader, clone, getConstantPool, getLength, getName, getNameIndex, getTag, println, readAttribute, 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:Attribute
Called 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:Attribute
Dump attribute to file stream in binary format.- Overrides:
dump
in classAttribute
- Parameters:
file
- Output file stream- Throws:
IOException
-
getLocalVariableTypeTable
-
getLocalVariable
-
setLocalVariableTable
-
toString
-
copy
-
getTableLength
public final int getTableLength()
-