Package com.tonic.parser.attribute.table
Class LocalVariableTypeTableEntry
- java.lang.Object
-
- com.tonic.parser.attribute.table.LocalVariableTypeTableEntry
-
public class LocalVariableTypeTableEntry extends Object
Represents an entry in the LocalVariableTypeTable attribute.
-
-
Constructor Summary
Constructors Constructor Description LocalVariableTypeTableEntry(ConstPool constPool, int startPc, int lengthPc, int nameIndex, int signatureIndex, int index)Constructs a local variable type table entry.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetIndex()intgetLengthPc()intgetNameIndex()intgetSignatureIndex()intgetStartPc()StringtoString()
-
-
-
Constructor Detail
-
LocalVariableTypeTableEntry
public LocalVariableTypeTableEntry(ConstPool constPool, int startPc, int lengthPc, int nameIndex, int signatureIndex, int index)
Constructs a local variable type table entry.- Parameters:
constPool- the constant pool for resolving referencesstartPc- the bytecode offset where the variable scope beginslengthPc- the length of the variable scope in bytecodenameIndex- constant pool index of the variable namesignatureIndex- constant pool index of the generic signatureindex- the local variable index in the frame
-
-
Method Detail
-
getStartPc
public int getStartPc()
- Returns:
- the start pc
-
getLengthPc
public int getLengthPc()
- Returns:
- the length pc
-
getNameIndex
public int getNameIndex()
- Returns:
- the name index
-
getSignatureIndex
public int getSignatureIndex()
- Returns:
- the signature index
-
getIndex
public int getIndex()
- Returns:
- the index
-
-