public class LocalVariableTypeTable extends Attribute implements Iterable<LocalVariable>
constant_pool, EMPTY_ARRAY, length, name_index, tag| Constructor and Description |
|---|
LocalVariableTypeTable(int nameIndex,
int length,
LocalVariable[] localVariableTable,
ConstantPool constantPool) |
LocalVariableTypeTable(LocalVariableTypeTable c) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Visitor v)
Called by objects that are traversing the nodes of the tree implicitly defined by the contents of a Java class.
|
Attribute |
copy(ConstantPool constantPool) |
void |
dump(DataOutputStream file)
Dump attribute to file stream in binary format.
|
LocalVariable |
getLocalVariable(int index) |
LocalVariable[] |
getLocalVariableTypeTable() |
int |
getTableLength() |
Iterator<LocalVariable> |
iterator() |
void |
setLocalVariableTable(LocalVariable[] localVariableTable) |
String |
toString() |
addAttributeReader, addAttributeReader, clone, getConstantPool, getLength, getName, getNameIndex, getTag, println, readAttribute, readAttribute, removeAttributeReader, setConstantPool, setLength, setNameIndexequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic LocalVariableTypeTable(int nameIndex, int length, LocalVariable[] localVariableTable, ConstantPool constantPool)
public LocalVariableTypeTable(LocalVariableTypeTable c)
public void accept(Visitor v)
Attributepublic Attribute copy(ConstantPool constantPool)
public final void dump(DataOutputStream file) throws IOException
Attributedump in class Attributefile - Output file streamIOException - if an I/O error occurs.public final LocalVariable getLocalVariable(int index)
public final LocalVariable[] getLocalVariableTypeTable()
public final int getTableLength()
public Iterator<LocalVariable> iterator()
iterator in interface Iterable<LocalVariable>public final void setLocalVariableTable(LocalVariable[] localVariableTable)
Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.