Package soot.shimple.internal
Class SPiExpr
- java.lang.Object
-
- soot.shimple.internal.SPiExpr
-
- All Implemented Interfaces:
Serializable,EquivTo,Expr,PiExpr,ShimpleExpr,UnitBoxOwner,Switchable,Value
public class SPiExpr extends Object implements PiExpr
- Author:
- Navindra Umanee
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected ValueUnitPairargBoxprotected ObjecttargetKey
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(Switch sw)Called when this object is visited.voidclearUnitBoxes()Objectclone()Returns a clone of this Value.intequivHashCode()Returns a (not necessarily fixed) hash code for this object.booleanequivTo(Object o)Returns true if this object is equivalent to o.ValueUnitPairgetArgBox()UnitgetCondStmt()ObjectgetTargetKey()TypegetType()Returns the Soot type of this Value.List<UnitBox>getUnitBoxes()List<ValueBox>getUseBoxes()Returns a List of boxes corresponding to Values which are used by (ie contained within) this Value.ValuegetValue()voidsetCondStmt(Unit pred)voidsetTargetKey(Object targetKey)voidsetValue(Value value)StringtoString()voidtoString(UnitPrinter up)
-
-
-
Field Detail
-
argBox
protected ValueUnitPair argBox
-
targetKey
protected Object targetKey
-
-
Method Detail
-
getArgBox
public ValueUnitPair getArgBox()
-
getCondStmt
public Unit getCondStmt()
- Specified by:
getCondStmtin interfacePiExpr
-
getTargetKey
public Object getTargetKey()
- Specified by:
getTargetKeyin interfacePiExpr
-
setCondStmt
public void setCondStmt(Unit pred)
- Specified by:
setCondStmtin interfacePiExpr
-
setTargetKey
public void setTargetKey(Object targetKey)
- Specified by:
setTargetKeyin interfacePiExpr
-
getUnitBoxes
public List<UnitBox> getUnitBoxes()
- Specified by:
getUnitBoxesin interfaceUnitBoxOwner
-
clearUnitBoxes
public void clearUnitBoxes()
- Specified by:
clearUnitBoxesin interfaceUnitBoxOwner
-
equivTo
public boolean equivTo(Object o)
Description copied from interface:EquivToReturns true if this object is equivalent to o.
-
equivHashCode
public int equivHashCode()
Description copied from interface:EquivToReturns a (not necessarily fixed) hash code for this object. This hash code coincides with equivTo; it is undefined in the presence of mutable objects.- Specified by:
equivHashCodein interfaceEquivTo
-
apply
public void apply(Switch sw)
Description copied from interface:SwitchableCalled when this object is visited.- Specified by:
applyin interfaceSwitchable
-
toString
public void toString(UnitPrinter up)
-
getType
public Type getType()
Description copied from interface:ValueReturns the Soot type of this Value.
-
getUseBoxes
public List<ValueBox> getUseBoxes()
Description copied from interface:ValueReturns a List of boxes corresponding to Values which are used by (ie contained within) this Value.- Specified by:
getUseBoxesin interfaceValue
-
-