Package soot.jimple.internal
Class AbstractDefinitionStmt
- java.lang.Object
-
- soot.tagkit.AbstractHost
-
- soot.AbstractUnit
-
- soot.jimple.internal.AbstractStmt
-
- soot.jimple.internal.AbstractDefinitionStmt
-
- All Implemented Interfaces:
Serializable,Context,ConvertToBaf,DefinitionStmt,Stmt,Host,Unit,Switchable
- Direct Known Subclasses:
DAssignStmt,JAssignStmt,JIdentityStmt
public abstract class AbstractDefinitionStmt extends AbstractStmt implements DefinitionStmt
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected ValueBoxleftBoxprotected ValueBoxrightBox-
Fields inherited from class soot.AbstractUnit
boxesPointingToThis
-
Fields inherited from class soot.tagkit.AbstractHost
col, line, mTagList
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractDefinitionStmt(ValueBox leftBox, ValueBox rightBox)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanbranches()Returns true if execution after this statement does not necessarily continue at the following statement.booleanfallsThrough()Returns true if execution after this statement may continue at the following statement.List<ValueBox>getDefBoxes()Returns a list of Boxes containing Values defined in this Unit.ValuegetLeftOp()ValueBoxgetLeftOpBox()ValuegetRightOp()ValueBoxgetRightOpBox()List<ValueBox>getUseBoxes()Returns a list of Boxes containing Values used in this Unit.-
Methods inherited from class soot.jimple.internal.AbstractStmt
containsArrayRef, containsFieldRef, containsInvokeExpr, convertToBaf, getArrayRef, getArrayRefBox, getFieldRef, getFieldRefBox, getInvokeExpr, getInvokeExprBox
-
Methods inherited from class soot.AbstractUnit
addBoxPointingToThis, apply, clearUnitBoxes, clone, getBoxesPointingToThis, getUnitBoxes, 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, toString, wait, wait, wait
-
Methods inherited from interface soot.tagkit.Host
addAllTagsOf, addTag, getJavaSourceStartColumnNumber, getJavaSourceStartLineNumber, getTag, getTags, hasTag, removeAllTags, removeTag
-
Methods inherited from interface soot.jimple.Stmt
containsArrayRef, containsFieldRef, containsInvokeExpr, getArrayRef, getArrayRefBox, getFieldRef, getFieldRefBox, getInvokeExpr, getInvokeExprBox
-
Methods inherited from interface soot.util.Switchable
apply
-
Methods inherited from interface soot.Unit
addBoxPointingToThis, clearUnitBoxes, clone, getBoxesPointingToThis, getUnitBoxes, getUseAndDefBoxes, redirectJumpsToThisTo, removeBoxPointingToThis, toString
-
-
-
-
Method Detail
-
getLeftOp
public final Value getLeftOp()
- Specified by:
getLeftOpin interfaceDefinitionStmt
-
getRightOp
public final Value getRightOp()
- Specified by:
getRightOpin interfaceDefinitionStmt
-
getLeftOpBox
public final ValueBox getLeftOpBox()
- Specified by:
getLeftOpBoxin interfaceDefinitionStmt
-
getRightOpBox
public final ValueBox getRightOpBox()
- Specified by:
getRightOpBoxin interfaceDefinitionStmt
-
getDefBoxes
public final List<ValueBox> getDefBoxes()
Description copied from class:AbstractUnitReturns a list of Boxes containing Values defined in this Unit. The list of boxes is dynamically updated as the structure changes.- Specified by:
getDefBoxesin interfaceUnit- Overrides:
getDefBoxesin classAbstractUnit
-
getUseBoxes
public List<ValueBox> getUseBoxes()
Description copied from class:AbstractUnitReturns a list of Boxes containing Values used in this Unit. The list of boxes is dynamically updated as the structure changes. Note that they are returned in usual evaluation order. (this is important for aggregation)- Specified by:
getUseBoxesin interfaceUnit- Overrides:
getUseBoxesin classAbstractUnit
-
fallsThrough
public boolean fallsThrough()
Description copied from interface:UnitReturns true if execution after this statement may continue at the following statement. GotoStmt will return false but IfStmt will return true.- Specified by:
fallsThroughin interfaceUnit
-
-