|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--jreversepro.runtime.JLocalEntry
LocalEntry is a entry in the SymbolTable.
| Constructor Summary | |
JLocalEntry(int aVarIndex,
int aStoreIndex,
java.lang.String datatype,
java.lang.String aName,
boolean aDeclared)
|
|
| Method Summary | |
void |
declareVariable()
Declare this local variable. |
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getDeclarationType()
|
int |
getLastReferredIndex()
|
java.lang.String |
getName()
|
int |
getStoreIndex()
|
int |
getVarIndex()
|
int |
hashCode()
|
boolean |
isDeclared()
|
boolean |
reassignType(java.lang.String datatype)
In case a variable is not declared, this reassigns the type of the variable. |
void |
setDeclarationType(java.lang.String aType)
|
void |
setLastReferredIndex(int index)
Sets the last ReferredIndex of this line. |
void |
setName(java.lang.String name)
Setter method for name, |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public JLocalEntry(int aVarIndex,
int aStoreIndex,
java.lang.String datatype,
java.lang.String aName,
boolean aDeclared)
aVarIndex - Variable Index into the Symbol TableaStoreIndex - Opcode index into the method bytecode
array when this variable stored / first initialized.datatype - datatype of the variableaName - Name of the variable.aDeclared - If this variable is declared or not.| Method Detail |
public void setName(java.lang.String name)
name - Name to be assigned.public java.lang.String getName()
public int getStoreIndex()
public int getVarIndex()
public void setLastReferredIndex(int index)
index - Last ReferredIndex of the variable.public int getLastReferredIndex()
public boolean isDeclared()
public void declareVariable()
public java.lang.String getDeclarationType()
public void setDeclarationType(java.lang.String aType)
aType - Declaration Type to be set.public boolean reassignType(java.lang.String datatype)
datatype - New datatype to be reassigned.
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - Object to be compared.
public int hashCode()
hashCode in class java.lang.Objectpublic 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 | ||||||||||