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[] localVariableTypeTable,
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)
Dumps 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, setNameIndex
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public LocalVariableTypeTable(int nameIndex, int length, LocalVariable[] localVariableTypeTable, ConstantPool constantPool)
public LocalVariableTypeTable(LocalVariableTypeTable c)
public void accept(Visitor v)
Attribute
public Attribute copy(ConstantPool constantPool)
public final void dump(DataOutputStream file) throws IOException
Attribute
dump
in class Attribute
file
- 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–2024 The Apache Software Foundation. All rights reserved.