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, getNameIndex, getTag, readAttribute, removeAttributeReader, setConstantPool, setLength, setNameIndexpublic LocalVariableTypeTable(LocalVariableTypeTable c)
public LocalVariableTypeTable(int name_index,
int length,
LocalVariable[] local_variable_table,
ConstantPool constant_pool)
public void accept(Visitor v)
Attributepublic final void dump(DataOutputStream file) throws IOException
Attributedump in class Attributefile - Output file streamIOExceptionpublic 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 © 2018–2021 mhoffrogge. All rights reserved.