|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--jreversepro.reflect.JLineOfCode
Represents a single line of code.
| Field Summary | |
static int |
ENTRY
Entry of block |
static int |
EXIT
Exiting out of a block |
static int |
INBLOCK
Inside a block |
| Constructor Summary | |
JLineOfCode(int sbo,
int ebo,
int fromI,
int toI,
java.lang.String stmt)
Creates a new instance of JLineOfCode |
|
JLineOfCode(java.lang.String stmt,
JBlockObject jbo,
int state)
Creates a new instance of JLineOfCode This JLineOfCode is either block entry or block exit code since no offsets are provided. |
|
| Method Summary | |
JBlockObject |
getBlock()
|
boolean |
isDecoration()
|
boolean |
isEntryCode()
|
boolean |
isExitCode()
|
boolean |
isInBlockCode()
|
void |
setBlock(JBlockObject jbo)
Sets the LineOfCode's containing block |
java.lang.String |
toString()
|
java.lang.String |
toString(java.lang.String indent)
|
java.lang.String |
toString(java.lang.String indent,
boolean debug)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int ENTRY
public static final int INBLOCK
public static final int EXIT
| Constructor Detail |
public JLineOfCode(int sbo,
int ebo,
int fromI,
int toI,
java.lang.String stmt)
sbo - - start byte offsetebo - - end byte offsetfromI - - from instruction # (index into instruction array)toI - - to instruction #stmt - - stringified line of code
public JLineOfCode(java.lang.String stmt,
JBlockObject jbo,
int state)
stmt - Stringified line of codejbo - the JBlockObject this line is associated withstate - ENTRY | EXIT| Method Detail |
public void setBlock(JBlockObject jbo)
jbo - BlockObjectpublic JBlockObject getBlock()
public boolean isEntryCode()
public boolean isExitCode()
public boolean isInBlockCode()
public boolean isDecoration()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toString(java.lang.String indent)
indent - Indentation level.
public java.lang.String toString(java.lang.String indent,
boolean debug)
indent - ??debug - Not Used - ???
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||