soot.jimple.internal
Class JAssignStmt
java.lang.Object
soot.tagkit.AbstractHost
soot.AbstractUnit
soot.jimple.internal.AbstractStmt
soot.jimple.internal.AbstractDefinitionStmt
soot.jimple.internal.JAssignStmt
- All Implemented Interfaces:
- Serializable, Context, AssignStmt, ConvertToBaf, DefinitionStmt, Stmt, Host, Unit, Switchable
- Direct Known Subclasses:
- GAssignStmt
public class JAssignStmt
- extends AbstractDefinitionStmt
- implements AssignStmt
- See Also:
- Serialized Form
JAssignStmt
public JAssignStmt(Value variable,
Value rvalue)
JAssignStmt
protected JAssignStmt(ValueBox variableBox,
ValueBox rvalueBox)
containsInvokeExpr
public boolean containsInvokeExpr()
- Specified by:
containsInvokeExpr
in interface Stmt
- Overrides:
containsInvokeExpr
in class AbstractStmt
getInvokeExpr
public InvokeExpr getInvokeExpr()
- Specified by:
getInvokeExpr
in interface Stmt
- Overrides:
getInvokeExpr
in class AbstractStmt
getInvokeExprBox
public ValueBox getInvokeExprBox()
- Specified by:
getInvokeExprBox
in interface Stmt
- Overrides:
getInvokeExprBox
in class AbstractStmt
containsArrayRef
public boolean containsArrayRef()
- Specified by:
containsArrayRef
in interface Stmt
- Overrides:
containsArrayRef
in class AbstractStmt
getArrayRef
public ArrayRef getArrayRef()
- Specified by:
getArrayRef
in interface Stmt
- Overrides:
getArrayRef
in class AbstractStmt
getArrayRefBox
public ValueBox getArrayRefBox()
- Specified by:
getArrayRefBox
in interface Stmt
- Overrides:
getArrayRefBox
in class AbstractStmt
containsFieldRef
public boolean containsFieldRef()
- Specified by:
containsFieldRef
in interface Stmt
- Overrides:
containsFieldRef
in class AbstractStmt
getFieldRef
public FieldRef getFieldRef()
- Specified by:
getFieldRef
in interface Stmt
- Overrides:
getFieldRef
in class AbstractStmt
getFieldRefBox
public ValueBox getFieldRefBox()
- Specified by:
getFieldRefBox
in interface Stmt
- Overrides:
getFieldRefBox
in class AbstractStmt
getUnitBoxes
public List getUnitBoxes()
- Description copied from class:
AbstractUnit
- Returns a list of Boxes containing Units defined in this Unit; typically
branch targets.
The list of boxes is dynamically updated as the structure changes.
- Specified by:
getUnitBoxes
in interface Unit
- Overrides:
getUnitBoxes
in class AbstractUnit
toString
public String toString()
- Overrides:
toString
in class Object
toString
public void toString(UnitPrinter up)
- Specified by:
toString
in interface Stmt
- Specified by:
toString
in interface Unit
clone
public Object clone()
- Description copied from class:
AbstractUnit
- Returns a deep clone of this object.
- Specified by:
clone
in interface Unit
- Specified by:
clone
in class AbstractUnit
setLeftOp
public void setLeftOp(Value variable)
- Specified by:
setLeftOp
in interface AssignStmt
setRightOp
public void setRightOp(Value rvalue)
- Specified by:
setRightOp
in interface AssignStmt
apply
public void apply(Switch sw)
- Description copied from class:
AbstractUnit
- Used to implement the Switchable construct.
- Specified by:
apply
in interface Switchable
- Overrides:
apply
in class AbstractUnit
convertToBaf
public void convertToBaf(JimpleToBafContext context,
List<Unit> out)
- Specified by:
convertToBaf
in interface ConvertToBaf
- Overrides:
convertToBaf
in class AbstractStmt