Package EDU.purdue.cs.bloat.reflect
Class LineNumberDebugInfo
- java.lang.Object
-
- EDU.purdue.cs.bloat.reflect.LineNumberDebugInfo
-
public class LineNumberDebugInfo extends java.lang.ObjectLineNumberDebugInfo 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.Objectclone()intlineNumber()Get the line number for this group of instructions.intstartPC()Get the start PC of the instructions for this line number.java.lang.StringtoString()Convert the attribute to a string.
-
-
-
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:
toStringin classjava.lang.Object- Returns:
- A string representation of the attribute.
-
clone
public java.lang.Object clone()
- Overrides:
clonein classjava.lang.Object
-
-