|
mjc | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.multijava.util.classfile.CodePosition
This class represent the code position of each instruction during analyse of control flow. Such position are constrained between a min and a max value because it is not possible to know the size of jumps with forward reference
| Field Summary | |
int |
max
|
int |
min
|
| Constructor Summary | |
CodePosition(int min,
int max)
Constructs a new position |
|
| Method Summary | |
void |
addOffset(int size)
Add a value to min and max fields |
boolean |
isFix()
Returns true if min equals max |
void |
setPosition(CodePosition pos)
Sets the value of this object from an other one |
java.lang.String |
toString()
Returns a string representation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public int min
public int max
| Constructor Detail |
public CodePosition(int min,
int max)
min - the minimum positionmax - the maximum position| Method Detail |
public final void setPosition(CodePosition pos)
public final void addOffset(int size)
public final boolean isFix()
public java.lang.String toString()
toString in class java.lang.Object
|
mjc | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||