Class LineNumberDebugInfo


  • public class LineNumberDebugInfo
    extends java.lang.Object
    LineNumberDebugInfo is used to map a range of instructions to a line number in the original Java source file. An instance of file.LineNumberTable contains an array of these guys.
    See Also:
    LineNumberTable
    • Constructor Summary

      Constructors 
      Constructor Description
      LineNumberDebugInfo​(int startPC, int lineNumber)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object clone()  
      int lineNumber()
      Get the line number for this group of instructions.
      int startPC()
      Get the start PC of the instructions for this line number.
      java.lang.String toString()
      Convert the attribute to a string.
      • Methods inherited from class java.lang.Object

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

      • LineNumberDebugInfo

        public LineNumberDebugInfo​(int startPC,
                                   int lineNumber)
        Constructor.
        Parameters:
        startPC - The start PC of the instructions for this line number.
        lineNumber - The line number for this group of instructions.
    • Method Detail

      • startPC

        public int startPC()
        Get the start PC of the instructions for this line number.
        Returns:
        The start PC.
      • lineNumber

        public int lineNumber()
        Get the line number for this group of instructions.
        Returns:
        The line number.
      • toString

        public java.lang.String toString()
        Convert the attribute to a string.
        Overrides:
        toString in class java.lang.Object
        Returns:
        A string representation of the attribute.
      • clone

        public java.lang.Object clone()
        Overrides:
        clone in class java.lang.Object