public class SPiExpr extends java.lang.Object implements PiExpr
| Modifier and Type | Field and Description |
|---|---|
protected ValueUnitPair |
argBox |
protected java.lang.Object |
targetKey |
| Constructor and Description |
|---|
SPiExpr(Value v,
Unit u,
java.lang.Object o) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(Switch sw)
Called when this object is visited.
|
void |
clearUnitBoxes() |
java.lang.Object |
clone()
Returns a clone of this Value.
|
int |
equivHashCode()
Returns a (not necessarily fixed) hash code for this object.
|
boolean |
equivTo(java.lang.Object o)
Returns true if this object is equivalent to o.
|
ValueUnitPair |
getArgBox() |
Unit |
getCondStmt() |
java.lang.Object |
getTargetKey() |
Type |
getType()
Returns the Soot type of this Value.
|
java.util.List<UnitBox> |
getUnitBoxes() |
java.util.List |
getUseBoxes()
Returns a List of boxes corresponding to Values
which are used by (ie contained within) this Value.
|
Value |
getValue() |
void |
setCondStmt(Unit pred) |
void |
setTargetKey(java.lang.Object targetKey) |
void |
setValue(Value value) |
java.lang.String |
toString() |
void |
toString(UnitPrinter up) |
protected ValueUnitPair argBox
protected java.lang.Object targetKey
public ValueUnitPair getArgBox()
public Unit getCondStmt()
getCondStmt in interface PiExprpublic java.lang.Object getTargetKey()
getTargetKey in interface PiExprpublic void setCondStmt(Unit pred)
setCondStmt in interface PiExprpublic void setTargetKey(java.lang.Object targetKey)
setTargetKey in interface PiExprpublic java.util.List<UnitBox> getUnitBoxes()
getUnitBoxes in interface UnitBoxOwnerpublic void clearUnitBoxes()
clearUnitBoxes in interface UnitBoxOwnerpublic boolean equivTo(java.lang.Object o)
EquivTopublic int equivHashCode()
EquivToequivHashCode in interface EquivTopublic void apply(Switch sw)
Switchableapply in interface Switchablepublic java.lang.Object clone()
Valuepublic java.lang.String toString()
toString in class java.lang.Objectpublic void toString(UnitPrinter up)
public Type getType()
Valuepublic java.util.List getUseBoxes()
ValuegetUseBoxes in interface Value