public final class LocalVariableTableReader extends AttributeReader
Instead of constructing a LocalVariableTable directly, consider just calling LocalVariableTable.makeVarMap for convenient access to aggregate local variable data from all the LocalVariableTable attributes for a given Code.
attr, cr, length| Constructor and Description |
|---|
LocalVariableTableReader(ClassReader.AttrIterator iter) |
| Modifier and Type | Method and Description |
|---|---|
int[] |
getRawTable() |
static int[][] |
makeVarMap(CodeReader code) |
checkSize, checkSizeEquals, getClassReader, getRawOffset, getRawSizepublic LocalVariableTableReader(ClassReader.AttrIterator iter) throws InvalidClassFileException
InvalidClassFileExceptionpublic int[] getRawTable()
public static int[][] makeVarMap(CodeReader code) throws InvalidClassFileException, java.lang.IllegalArgumentException
InvalidClassFileExceptionjava.lang.IllegalArgumentException