net.sf.rej.gui.editor.row
Class CodeRow

java.lang.Object
  extended by net.sf.rej.gui.editor.row.CodeRow
All Implemented Interfaces:
EditorRow

public class CodeRow
extends java.lang.Object
implements EditorRow


Constructor Summary
CodeRow(ClassFile cf, MethodDefRow method, Instruction instruction)
           
 
Method Summary
 Breakpoint getBreakpoint()
           
 DecompilationContext getDecompilationContext()
           
 MethodDefRow getEnclosingMethodDef()
           
 Instruction getInstruction()
           
 int getLineNumber()
          Returns the source line number, or -1 if no information about source line numbers is available.
 Code getParentCode()
           
 int getPosition()
           
 boolean hasLineNumber()
           
 boolean isExecutionRow()
           
 void setBreakpoint(Breakpoint bp)
           
 void setDecompilationContext(DecompilationContext dc)
           
 void setExecutionRow(boolean executionRow)
           
 void setLineNumber(int ln)
           
 void setParentCode(Code code)
           
 void setPosition(int pos)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CodeRow

public CodeRow(ClassFile cf,
               MethodDefRow method,
               Instruction instruction)
Method Detail

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()