public class JAssignStmt extends AbstractDefinitionStmt implements AssignStmt
leftBox, rightBoxcol, 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, getUseBoxesaddBoxPointingToThis, clearUnitBoxes, getBoxesPointingToThis, getUseAndDefBoxes, redirectJumpsToThisTo, removeBoxPointingToThisaddAllTagsOf, addTag, getJavaSourceStartColumnNumber, getJavaSourceStartLineNumber, getTag, getTags, hasTag, removeAllTags, removeTagequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLeftOp, getLeftOpBox, getRightOp, getRightOpBoxaddBoxPointingToThis, branches, clearUnitBoxes, fallsThrough, getBoxesPointingToThis, getDefBoxes, getUseAndDefBoxes, getUseBoxes, redirectJumpsToThisTo, removeBoxPointingToThisaddAllTagsOf, addTag, getJavaSourceStartColumnNumber, getJavaSourceStartLineNumber, getTag, getTags, hasTag, removeAllTags, removeTagpublic boolean containsInvokeExpr()
containsInvokeExpr in interface StmtcontainsInvokeExpr in class AbstractStmtpublic InvokeExpr getInvokeExpr()
getInvokeExpr in interface StmtgetInvokeExpr in class AbstractStmtpublic ValueBox getInvokeExprBox()
getInvokeExprBox in interface StmtgetInvokeExprBox in class AbstractStmtpublic boolean containsArrayRef()
containsArrayRef in interface StmtcontainsArrayRef in class AbstractStmtpublic ArrayRef getArrayRef()
getArrayRef in interface StmtgetArrayRef in class AbstractStmtpublic ValueBox getArrayRefBox()
getArrayRefBox in interface StmtgetArrayRefBox in class AbstractStmtpublic boolean containsFieldRef()
containsFieldRef in interface StmtcontainsFieldRef in class AbstractStmtpublic FieldRef getFieldRef()
getFieldRef in interface StmtgetFieldRef in class AbstractStmtpublic ValueBox getFieldRefBox()
getFieldRefBox in interface StmtgetFieldRefBox in class AbstractStmtpublic java.util.List<UnitBox> getUnitBoxes()
AbstractUnitgetUnitBoxes in interface UnitgetUnitBoxes in class AbstractUnitpublic java.lang.String toString()
toString in class java.lang.Objectpublic void toString(UnitPrinter up)
public java.lang.Object clone()
AbstractUnitclone in interface Unitclone in class AbstractUnitpublic void setLeftOp(Value variable)
setLeftOp in interface AssignStmtpublic void setRightOp(Value rvalue)
setRightOp in interface AssignStmtpublic void apply(Switch sw)
AbstractUnitapply in interface Switchableapply in class AbstractUnitpublic void convertToBaf(JimpleToBafContext context, java.util.List<Unit> out)
convertToBaf in interface ConvertToBafconvertToBaf in class AbstractStmt