public class JAssignStmt extends AbstractDefinitionStmt implements AssignStmt
leftBox, rightBox
col, line, mTagList
Modifier | Constructor and Description |
---|---|
protected |
JAssignStmt(ValueBox variableBox,
ValueBox rvalueBox) |
|
JAssignStmt(Value variable,
Value rvalue) |
Modifier and Type | Method and Description |
---|---|
void |
apply(Switch sw)
Used to implement the Switchable construct.
|
java.lang.Object |
clone()
Returns a deep clone of this object.
|
boolean |
containsArrayRef() |
boolean |
containsFieldRef() |
boolean |
containsInvokeExpr() |
void |
convertToBaf(JimpleToBafContext context,
java.util.List<Unit> out) |
ArrayRef |
getArrayRef() |
ValueBox |
getArrayRefBox() |
FieldRef |
getFieldRef() |
ValueBox |
getFieldRefBox() |
InvokeExpr |
getInvokeExpr() |
ValueBox |
getInvokeExprBox() |
java.util.List<UnitBox> |
getUnitBoxes()
Returns a list of Boxes containing Units defined in this Unit; typically
branch targets.
|
void |
setLeftOp(Value variable) |
void |
setRightOp(Value rvalue) |
java.lang.String |
toString() |
void |
toString(UnitPrinter up) |
branches, fallsThrough, getDefBoxes, getLeftOp, getLeftOpBox, getRightOp, getRightOpBox, getUseBoxes
addBoxPointingToThis, clearUnitBoxes, getBoxesPointingToThis, getUseAndDefBoxes, redirectJumpsToThisTo, removeBoxPointingToThis
addAllTagsOf, addTag, getJavaSourceStartColumnNumber, getJavaSourceStartLineNumber, getTag, getTags, hasTag, removeAllTags, removeTag
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getLeftOp, getLeftOpBox, getRightOp, getRightOpBox
addBoxPointingToThis, branches, clearUnitBoxes, fallsThrough, getBoxesPointingToThis, getDefBoxes, getUseAndDefBoxes, getUseBoxes, redirectJumpsToThisTo, removeBoxPointingToThis
addAllTagsOf, addTag, getJavaSourceStartColumnNumber, getJavaSourceStartLineNumber, getTag, getTags, hasTag, removeAllTags, removeTag
public boolean containsInvokeExpr()
containsInvokeExpr
in interface Stmt
containsInvokeExpr
in class AbstractStmt
public InvokeExpr getInvokeExpr()
getInvokeExpr
in interface Stmt
getInvokeExpr
in class AbstractStmt
public ValueBox getInvokeExprBox()
getInvokeExprBox
in interface Stmt
getInvokeExprBox
in class AbstractStmt
public boolean containsArrayRef()
containsArrayRef
in interface Stmt
containsArrayRef
in class AbstractStmt
public ArrayRef getArrayRef()
getArrayRef
in interface Stmt
getArrayRef
in class AbstractStmt
public ValueBox getArrayRefBox()
getArrayRefBox
in interface Stmt
getArrayRefBox
in class AbstractStmt
public boolean containsFieldRef()
containsFieldRef
in interface Stmt
containsFieldRef
in class AbstractStmt
public FieldRef getFieldRef()
getFieldRef
in interface Stmt
getFieldRef
in class AbstractStmt
public ValueBox getFieldRefBox()
getFieldRefBox
in interface Stmt
getFieldRefBox
in class AbstractStmt
public java.util.List<UnitBox> getUnitBoxes()
AbstractUnit
getUnitBoxes
in interface Unit
getUnitBoxes
in class AbstractUnit
public java.lang.String toString()
toString
in class java.lang.Object
public void toString(UnitPrinter up)
public java.lang.Object clone()
AbstractUnit
clone
in interface Unit
clone
in class AbstractUnit
public void setLeftOp(Value variable)
setLeftOp
in interface AssignStmt
public void setRightOp(Value rvalue)
setRightOp
in interface AssignStmt
public void apply(Switch sw)
AbstractUnit
apply
in interface Switchable
apply
in class AbstractUnit
public void convertToBaf(JimpleToBafContext context, java.util.List<Unit> out)
convertToBaf
in interface ConvertToBaf
convertToBaf
in class AbstractStmt