|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--jreversepro.revengine.JCaseEntry
JCaseEntry is the abstract representation of a case entry
| Field Summary |
| Fields inherited from interface jreversepro.common.KeyWords |
ANY, BOOLEAN, BREAK, BYTE, CASE, CHAR, CLASS, CLASS_STRING, CLINIT, CLOSE_BRACKET, COND_AND, COND_NOT, COND_OR, CONTINUE, DEFAULT, DEFAULT_PACKAGE, DOUBLE, EQUALTO, FALSE, FLOAT, FOREIGN_CLASS, FOREIGN_OBJ, GOTO, INIT, INSTANCEOF, INT, INTERFACE, JVM_BOOLEAN, JVM_CHAR, JVM_VOID, LANG_OBJECT, LENGTH, LONG, NEW, NULL, OPEN_BRACKET, OPR_EQ, OPR_GE, OPR_GT, OPR_LE, OPR_LT, OPR_NE, OPR_NOT, REFERENCE, RET_ADDR, RETURN, SHORT, SPACE, STATIC, SUPER, SWITCH, THIS, THISCLASS, THROW, TRUE, VOID |
| Constructor Summary | |
JCaseEntry()
Empty constructor. |
|
JCaseEntry(java.lang.String name,
int targetPc)
|
|
| Method Summary | |
void |
addValue(java.lang.String name)
Adds another case target. |
java.lang.String |
disAssemble()
Returns a string with the case targets and the correpoding branch PCs listed. |
int |
getEndTarget()
|
int |
getTarget()
|
java.util.List |
getValues()
|
void |
setEndTarget(int endTarget)
Setter method for endTarget. |
void |
setTarget(int targetPc)
Setter method for TargetPc |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public JCaseEntry()
public JCaseEntry(java.lang.String name,
int targetPc)
name - Name of the case target.targetPc - PC of the corresponding handler for this
case target.| Method Detail |
public void addValue(java.lang.String name)
name - Name of the case target.public java.util.List getValues()
public int getTarget()
public void setTarget(int targetPc)
targetPc - TargetPcpublic int getEndTarget()
public void setEndTarget(int endTarget)
endTarget - End Target for this case group block.public java.lang.String disAssemble()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||