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 PiExpr
public java.lang.Object getTargetKey()
getTargetKey
in interface PiExpr
public void setCondStmt(Unit pred)
setCondStmt
in interface PiExpr
public void setTargetKey(java.lang.Object targetKey)
setTargetKey
in interface PiExpr
public java.util.List<UnitBox> getUnitBoxes()
getUnitBoxes
in interface UnitBoxOwner
public void clearUnitBoxes()
clearUnitBoxes
in interface UnitBoxOwner
public boolean equivTo(java.lang.Object o)
EquivTo
public int equivHashCode()
EquivTo
equivHashCode
in interface EquivTo
public void apply(Switch sw)
Switchable
apply
in interface Switchable
public java.lang.Object clone()
Value
public java.lang.String toString()
toString
in class java.lang.Object
public void toString(UnitPrinter up)
public Type getType()
Value
public java.util.List getUseBoxes()
Value
getUseBoxes
in interface Value