org.aspectj.apache.bcel.classfile
Class LineNumber
java.lang.Object
org.aspectj.apache.bcel.classfile.LineNumber
- All Implemented Interfaces:
- Node
public final class LineNumber
- extends java.lang.Object
- implements Node
This class represents a (PC offset, line number) pair, i.e., a line number in the source that corresponds to a relative address
in the byte code. This is used for debugging purposes.
- See Also:
LineNumberTable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LineNumber
public LineNumber(LineNumber c)
LineNumber
public LineNumber(int startPC,
int lineNumber)
accept
public void accept(ClassVisitor v)
- Specified by:
accept
in interface Node
dump
public final void dump(java.io.DataOutputStream file)
throws java.io.IOException
- Throws:
java.io.IOException
getLineNumber
public final int getLineNumber()
getStartPC
public final int getStartPC()
toString
public final java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
copy
public LineNumber copy()