public abstract class AbstractDefinitionStmt extends AbstractStmt implements DefinitionStmt
Modifier and Type | Field and Description |
---|---|
ValueBox |
leftBox |
ValueBox |
rightBox |
col, line, mTagList
Modifier | Constructor and Description |
---|---|
protected |
AbstractDefinitionStmt(ValueBox leftBox,
ValueBox rightBox) |
Modifier and Type | Method and Description |
---|---|
boolean |
branches()
Returns true if execution after this statement does not necessarily continue at the following statement.
|
boolean |
fallsThrough()
Returns true if execution after this statement may continue at the following statement.
|
java.util.List<ValueBox> |
getDefBoxes()
Returns a list of Boxes containing Values defined in this Unit.
|
Value |
getLeftOp() |
ValueBox |
getLeftOpBox() |
Value |
getRightOp() |
ValueBox |
getRightOpBox() |
java.util.List<ValueBox> |
getUseBoxes()
Returns a list of Boxes containing Values used in this Unit.
|
containsArrayRef, containsFieldRef, containsInvokeExpr, convertToBaf, getArrayRef, getArrayRefBox, getFieldRef, getFieldRefBox, getInvokeExpr, getInvokeExprBox
addBoxPointingToThis, apply, clearUnitBoxes, clone, getBoxesPointingToThis, getUnitBoxes, getUseAndDefBoxes, redirectJumpsToThisTo, removeBoxPointingToThis
addAllTagsOf, addTag, getJavaSourceStartColumnNumber, getJavaSourceStartLineNumber, getTag, getTags, hasTag, removeAllTags, removeTag
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
containsArrayRef, containsFieldRef, containsInvokeExpr, getArrayRef, getArrayRefBox, getFieldRef, getFieldRefBox, getInvokeExpr, getInvokeExprBox, toString
addBoxPointingToThis, clearUnitBoxes, clone, getBoxesPointingToThis, getUnitBoxes, getUseAndDefBoxes, redirectJumpsToThisTo, removeBoxPointingToThis
apply
addAllTagsOf, addTag, getJavaSourceStartColumnNumber, getJavaSourceStartLineNumber, getTag, getTags, hasTag, removeAllTags, removeTag
public final Value getLeftOp()
getLeftOp
in interface DefinitionStmt
public final Value getRightOp()
getRightOp
in interface DefinitionStmt
public final ValueBox getLeftOpBox()
getLeftOpBox
in interface DefinitionStmt
public final ValueBox getRightOpBox()
getRightOpBox
in interface DefinitionStmt
public final java.util.List<ValueBox> getDefBoxes()
AbstractUnit
getDefBoxes
in interface Unit
getDefBoxes
in class AbstractUnit
public final java.util.List<ValueBox> getUseBoxes()
AbstractUnit
getUseBoxes
in interface Unit
getUseBoxes
in class AbstractUnit
public boolean fallsThrough()
Unit
fallsThrough
in interface Unit