Class LineNumberInfo


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

      Constructors 
      Constructor Description
      LineNumberInfo()
      Instantiates a new Line number info.
      LineNumberInfo​(int startPC, int lineNumber)
      Instantiates a new Line number info.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static LineNumberInfo create​(java.io.DataInput din)
      Create line number info.
      int getLineNumber()
      Get line number int.
      int getStartPC()
      Get start pc int.
      void setLineNumber​(int number)
      Set line number.
      void setStartPC​(int startPc)
      Set start pc.
      void write​(java.io.DataOutput dout)
      Export the representation to a DataOutput stream.
      • Methods inherited from class java.lang.Object

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

      • LineNumberInfo

        public LineNumberInfo​(int startPC,
                              int lineNumber)
        Instantiates a new Line number info.
        Parameters:
        startPC - the start pc
        lineNumber - the line number
      • LineNumberInfo

        public LineNumberInfo()
        Instantiates a new Line number info.
    • Method Detail

      • create

        public static LineNumberInfo create​(java.io.DataInput din)
                                     throws java.io.IOException
        Create line number info.
        Parameters:
        din - the din
        Returns:
        the line number info
        Throws:
        java.io.IOException - the io exception
      • setLineNumber

        public void setLineNumber​(int number)
        Set line number.
        Parameters:
        number - the number
      • getLineNumber

        public int getLineNumber()
        Get line number int.
        Returns:
        the int
      • getStartPC

        public int getStartPC()
        Get start pc int.
        Returns:
        the int
      • setStartPC

        public void setStartPC​(int startPc)
        Set start pc.
        Parameters:
        startPc - the start pc
      • write

        public void write​(java.io.DataOutput dout)
                   throws java.io.IOException
        Export the representation to a DataOutput stream.
        Parameters:
        dout - the dout
        Throws:
        java.io.IOException - the io exception