Package 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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJAssignStmt.LinkedRValueBoxstatic classJAssignStmt.LinkedVariableBox
-
Field Summary
-
Fields inherited from class soot.jimple.internal.AbstractDefinitionStmt
leftBox, rightBox
-
Fields inherited from class soot.AbstractUnit
boxesPointingToThis
-
Fields inherited from class soot.tagkit.AbstractHost
col, line, mTagList
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJAssignStmt(ValueBox variableBox, ValueBox rvalueBox)JAssignStmt(Value variable, Value rvalue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(Switch sw)Used to implement the Switchable construct.Objectclone()Returns a deep clone of this object.booleancontainsArrayRef()booleancontainsFieldRef()booleancontainsInvokeExpr()voidconvertToBaf(JimpleToBafContext context, List<Unit> out)ArrayRefgetArrayRef()ValueBoxgetArrayRefBox()FieldRefgetFieldRef()ValueBoxgetFieldRefBox()InvokeExprgetInvokeExpr()ValueBoxgetInvokeExprBox()List<UnitBox>getUnitBoxes()Returns a list of Boxes containing Units defined in this Unit; typically branch targets.voidsetLeftOp(Value variable)voidsetRightOp(Value rvalue)StringtoString()voidtoString(UnitPrinter up)-
Methods inherited from class soot.jimple.internal.AbstractDefinitionStmt
branches, fallsThrough, getDefBoxes, getLeftOp, getLeftOpBox, getRightOp, getRightOpBox, getUseBoxes
-
Methods inherited from class soot.AbstractUnit
addBoxPointingToThis, clearUnitBoxes, getBoxesPointingToThis, getUseAndDefBoxes, redirectJumpsToThisTo, removeBoxPointingToThis
-
Methods inherited from class soot.tagkit.AbstractHost
addAllTagsOf, addTag, getJavaSourceStartColumnNumber, getJavaSourceStartLineNumber, getTag, getTags, hasTag, removeAllTags, removeTag
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface soot.jimple.DefinitionStmt
getLeftOp, getLeftOpBox, getRightOp, getRightOpBox
-
Methods inherited from interface soot.tagkit.Host
addAllTagsOf, addTag, getJavaSourceStartColumnNumber, getJavaSourceStartLineNumber, getTag, getTags, hasTag, removeAllTags, removeTag
-
Methods inherited from interface soot.Unit
addBoxPointingToThis, branches, clearUnitBoxes, fallsThrough, getBoxesPointingToThis, getDefBoxes, getUseAndDefBoxes, getUseBoxes, redirectJumpsToThisTo, removeBoxPointingToThis
-
-
-
-
Method Detail
-
containsInvokeExpr
public boolean containsInvokeExpr()
- Specified by:
containsInvokeExprin interfaceStmt- Overrides:
containsInvokeExprin classAbstractStmt
-
getInvokeExpr
public InvokeExpr getInvokeExpr()
- Specified by:
getInvokeExprin interfaceStmt- Overrides:
getInvokeExprin classAbstractStmt
-
getInvokeExprBox
public ValueBox getInvokeExprBox()
- Specified by:
getInvokeExprBoxin interfaceStmt- Overrides:
getInvokeExprBoxin classAbstractStmt
-
containsArrayRef
public boolean containsArrayRef()
- Specified by:
containsArrayRefin interfaceStmt- Overrides:
containsArrayRefin classAbstractStmt
-
getArrayRef
public ArrayRef getArrayRef()
- Specified by:
getArrayRefin interfaceStmt- Overrides:
getArrayRefin classAbstractStmt
-
getArrayRefBox
public ValueBox getArrayRefBox()
- Specified by:
getArrayRefBoxin interfaceStmt- Overrides:
getArrayRefBoxin classAbstractStmt
-
containsFieldRef
public boolean containsFieldRef()
- Specified by:
containsFieldRefin interfaceStmt- Overrides:
containsFieldRefin classAbstractStmt
-
getFieldRef
public FieldRef getFieldRef()
- Specified by:
getFieldRefin interfaceStmt- Overrides:
getFieldRefin classAbstractStmt
-
getFieldRefBox
public ValueBox getFieldRefBox()
- Specified by:
getFieldRefBoxin interfaceStmt- Overrides:
getFieldRefBoxin classAbstractStmt
-
getUnitBoxes
public List<UnitBox> getUnitBoxes()
Description copied from class:AbstractUnitReturns 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:
getUnitBoxesin interfaceUnit- Overrides:
getUnitBoxesin classAbstractUnit
-
toString
public void toString(UnitPrinter up)
-
clone
public Object clone()
Description copied from class:AbstractUnitReturns a deep clone of this object.- Specified by:
clonein interfaceUnit- Specified by:
clonein classAbstractUnit
-
setLeftOp
public void setLeftOp(Value variable)
- Specified by:
setLeftOpin interfaceAssignStmt
-
setRightOp
public void setRightOp(Value rvalue)
- Specified by:
setRightOpin interfaceAssignStmt
-
apply
public void apply(Switch sw)
Description copied from class:AbstractUnitUsed to implement the Switchable construct.- Specified by:
applyin interfaceSwitchable- Overrides:
applyin classAbstractUnit
-
convertToBaf
public void convertToBaf(JimpleToBafContext context, List<Unit> out)
- Specified by:
convertToBafin interfaceConvertToBaf- Overrides:
convertToBafin classAbstractStmt
-
-