|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectdk.brics.xact.analysis.flowgraph.Variable
public class Variable
A program variable, used in a flow graph.
| Constructor Summary | |
|---|---|
Variable(int id,
boolean global)
Constructs a new variable object with no type annotation. |
|
| Method Summary | |
|---|---|
int |
getID()
Returns the variable ID number. |
boolean |
isGlobal()
Returns true if this is a field (or global dummy) variable. |
void |
setGlobal()
Marks this variable as being global. |
String |
toString()
Returns a name for the variable useful for printing. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Variable(int id,
boolean global)
| Method Detail |
|---|
public int getID()
public boolean isGlobal()
public void setGlobal()
public String toString()
toString in class Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||