Class LineNumberTableAttribute

    • Field Detail

      • u2lineNumberTableLength

        public int u2lineNumberTableLength
    • Constructor Detail

      • LineNumberTableAttribute

        public LineNumberTableAttribute()
        Creates an uninitialized LineNumberTableAttribute.
      • LineNumberTableAttribute

        public LineNumberTableAttribute​(int u2attributeNameIndex,
                                        int u2lineNumberTableLength,
                                        LineNumberInfo[] lineNumberTable)
        Creates an initialized LineNumberTableAttribute.
    • Method Detail

      • getLineNumber

        public int getLineNumber​(int pc)
        Returns the line number corresponding to the given byte code program counter.
      • getSource

        public java.lang.String getSource​(int pc)
        Returns the source corresponding to the given byte code program counter.
      • getLineNumberInfo

        public LineNumberInfo getLineNumberInfo​(int pc)
        Returns the line number info corresponding to the given byte code program counter.
      • getLowestLineNumber

        public int getLowestLineNumber()
        Returns the lowest line number with the default null source, or 0 if there aren't any such line numbers.
      • getHighestLineNumber

        public int getHighestLineNumber()
        Returns the highest line number with the default null source, or 0 if there aren't any such line numbers.