|
|||||||||
| Home >> All >> jreversepro >> [ revengine overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
jreversepro.revengine
Class JCaseEntry

java.lang.Objectjreversepro.revengine.JCaseEntry
- All Implemented Interfaces:
- jreversepro.common.KeyWords
- public class JCaseEntry
- extends java.lang.Object
- implements jreversepro.common.KeyWords
- extends java.lang.Object
JCaseEntry is the abstract representation of a case entry
| Field Summary | |
(package private) int |
endTarget
End Pc of this case target and the beginnin of the next target. |
(package private) int |
target
Target of this group of case entry. |
(package private) java.util.List |
values
List of case targets that have similar target. |
| 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()
Convert this Object to a human-readable String. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
values
java.util.List values
- List of case targets that have similar target.
Ordinarily they have just one entry. But sometimes they
may have more than one entry.
For eg.
case 12:
case 13:
case 18:
<
> In this case there will be three entries in the list.
target
int target
- Target of this group of case entry.
endTarget
int endTarget
- End Pc of this case target and the beginnin of the next target.
| Constructor Detail |
JCaseEntry
public JCaseEntry()
- Empty constructor.
JCaseEntry
public JCaseEntry(java.lang.String name, int targetPc)
| Method Detail |
addValue
public void addValue(java.lang.String name)
- Adds another case target.
getValues
public java.util.List getValues()
getTarget
public int getTarget()
setTarget
public void setTarget(int targetPc)
- Setter method for TargetPc
getEndTarget
public int getEndTarget()
setEndTarget
public void setEndTarget(int endTarget)
- Setter method for endTarget.
disAssemble
public java.lang.String disAssemble()
- Returns a string with the case targets and the
correpoding branch PCs listed.
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object - Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string concatenation with this object. If the result is
null, string concatenation will instead use"null".The default implementation returns
getClass().getName() + "@" + Integer.toHexString(hashCode()).
|
|||||||||
| Home >> All >> jreversepro >> [ revengine overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
jreversepro.revengine.JCaseEntry