Class LineNumberInfo

  • Direct Known Subclasses:
    ExtendedLineNumberInfo

    public class LineNumberInfo
    extends java.lang.Object
    Representation of an line number table entry.
    • Constructor Summary

      Constructors 
      Constructor Description
      LineNumberInfo()
      Creates an uninitialized LineNumberInfo.
      LineNumberInfo​(int u2startPC, int u2lineNumber)
      Creates an initialized LineNumberInfo.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getSource()
      Returns a description of the source of the line, if known, or null otherwise.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • u2startPC

        public int u2startPC
      • u2lineNumber

        public int u2lineNumber
    • Constructor Detail

      • LineNumberInfo

        public LineNumberInfo()
        Creates an uninitialized LineNumberInfo.
      • LineNumberInfo

        public LineNumberInfo​(int u2startPC,
                              int u2lineNumber)
        Creates an initialized LineNumberInfo.
    • Method Detail

      • getSource

        public java.lang.String getSource()
        Returns a description of the source of the line, if known, or null otherwise. Standard line number entries don't contain information about their source; it is assumed to be the same source file.