|
|||||||
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 fieldpublic 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 returnMethod Detail |
---|
public void apply(Switch sw)
apply
in interface Switchable
public Object clone()
clone
in interface Value
clone
in class Object
public int equivHashCode()
equivHashCode
in interface EquivTo
public boolean equivTo(Object obj)
equivTo
in interface EquivTo
public Type getType()
getType
in interface Value
public List<?> getUseBoxes()
getUseBoxes
in interface Value
public boolean isGlobal()
public boolean isReturn()
public String toString()
toString
in class Object
public void toString(UnitPrinter up)
toString
in interface Value
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |