|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectdk.brics.xact.analysis.soot.DummyValue
class DummyValue
A dummy Soot value for creating temporary flow variables.
Used for representing method return values, casts, nulls, etc.
| Constructor Summary | |
|---|---|
DummyValue(Type type,
boolean global)
Constructs a new dummy value. |
|
DummyValue(Type type,
String annotation,
boolean global,
boolean ret)
Constructs a new dummy value. |
|
| Method Summary | |
|---|---|
void |
apply(Switch sw)
|
Object |
clone()
|
int |
equivHashCode()
|
boolean |
equivTo(Object obj)
|
Type |
getType()
|
List<?> |
getUseBoxes()
|
boolean |
isGlobal()
Returns the global status. |
boolean |
isReturn()
Returns true if this value represents a method return value. |
String |
toString()
|
void |
toString(UnitPrinter up)
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DummyValue(Type type,
boolean global)
type - the Soot type of the variableglobal - indicates whether the variable should be global, i.e. treated as a field
public DummyValue(Type type,
String annotation,
boolean global,
boolean ret)
type - the Soot type of the variableannotation - type annotation, null uf noneglobal - indicates whether the variable should be global, i.e. treated as a fieldret - indicates whether the variable is a return| Method Detail |
|---|
public void apply(Switch sw)
apply in interface Switchablepublic Object clone()
clone in interface Valueclone in class Objectpublic int equivHashCode()
equivHashCode in interface EquivTopublic boolean equivTo(Object obj)
equivTo in interface EquivTopublic Type getType()
getType in interface Valuepublic List<?> getUseBoxes()
getUseBoxes in interface Valuepublic boolean isGlobal()
public boolean isReturn()
public String toString()
toString in class Objectpublic void toString(UnitPrinter up)
toString in interface Value
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||