Class LineNumberTableEntry


  • public class LineNumberTableEntry
    extends Object
    Represents an entry in the LineNumberTable attribute.
    • Constructor Detail

      • LineNumberTableEntry

        public LineNumberTableEntry​(int startPc,
                                    int lineNumber)
        Constructs a line number table entry.
        Parameters:
        startPc - the bytecode offset where the line begins
        lineNumber - the corresponding source line number
    • Method Detail

      • getStartPc

        public int getStartPc()
        Returns:
        the start pc
      • getLineNumber

        public int getLineNumber()
        Returns:
        the line number