Class LineNumberDebugInfo

java.lang.Object
EDU.purdue.cs.bloat.reflect.LineNumberDebugInfo

public class LineNumberDebugInfo extends 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:
  • Constructor Details

    • 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 Details

    • 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 String toString()
      Convert the attribute to a string.
      Overrides:
      toString in class Object
      Returns:
      A string representation of the attribute.
    • clone

      public Object clone()
      Overrides:
      clone in class Object