net.sf.rej.gui.editor.row
Class CodeRow
java.lang.Object
net.sf.rej.gui.editor.row.CodeRow
- All Implemented Interfaces:
- EditorRow
public class CodeRow
- extends java.lang.Object
- implements EditorRow
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CodeRow
public CodeRow(ClassFile cf,
MethodDefRow method,
Instruction instruction)
setPosition
public void setPosition(int pos)
setLineNumber
public void setLineNumber(int ln)
getInstruction
public Instruction getInstruction()
getPosition
public int getPosition()
getLineNumber
public int getLineNumber()
- Returns the source line number, or -1 if no information about source
line numbers is available.
- Returns:
- the source code line number.
hasLineNumber
public boolean hasLineNumber()
setDecompilationContext
public void setDecompilationContext(DecompilationContext dc)
getDecompilationContext
public DecompilationContext getDecompilationContext()
setParentCode
public void setParentCode(Code code)
getParentCode
public Code getParentCode()
getEnclosingMethodDef
public MethodDefRow getEnclosingMethodDef()
getBreakpoint
public Breakpoint getBreakpoint()
setBreakpoint
public void setBreakpoint(Breakpoint bp)
setExecutionRow
public void setExecutionRow(boolean executionRow)
isExecutionRow
public boolean isExecutionRow()