Class LocalVariableTypeTableEntry


  • public class LocalVariableTypeTableEntry
    extends Object
    Represents an entry in the LocalVariableTypeTable attribute.
    • 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 references
        startPc - the bytecode offset where the variable scope begins
        lengthPc - the length of the variable scope in bytecode
        nameIndex - constant pool index of the variable name
        signatureIndex - constant pool index of the generic signature
        index - 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