public abstract class AbstractSwitchInst extends AbstractInst implements SwitchInst
boxesPointingToThiscol, line, mTagList| Constructor and Description |
|---|
AbstractSwitchInst(Unit defaultTarget,
List<? extends Unit> targets) |
| 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.
|
Unit |
getDefaultTarget() |
UnitBox |
getDefaultTargetBox() |
int |
getInCount() |
int |
getInMachineCount() |
int |
getOutCount() |
int |
getOutMachineCount() |
Unit |
getTarget(int index) |
UnitBox |
getTargetBox(int index) |
int |
getTargetCount() |
List<Unit> |
getTargets() |
List<UnitBox> |
getUnitBoxes()
Returns a list of Boxes containing Units defined in this Unit; typically branch targets.
|
void |
setDefaultTarget(Unit defaultTarget) |
void |
setTarget(int index,
Unit target) |
void |
setTargets(List<Unit> targets) |
clone, containsArrayRef, containsFieldRef, containsInvokeExpr, containsNewExpr, getName, getNetCount, getNetMachineCount, getParameters, toString, toStringaddBoxPointingToThis, apply, clearUnitBoxes, getBoxesPointingToThis, getDefBoxes, getUseAndDefBoxes, getUseBoxes, redirectJumpsToThisTo, removeBoxPointingToThisaddAllTagsOf, addTag, getJavaSourceStartColumnNumber, getJavaSourceStartLineNumber, getTag, getTags, hasTag, removeAllTags, removeTagequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcontainsArrayRef, containsFieldRef, containsInvokeExpr, containsNewExpr, getNetCount, getNetMachineCountaddBoxPointingToThis, clearUnitBoxes, clone, getBoxesPointingToThis, getDefBoxes, getUseAndDefBoxes, getUseBoxes, redirectJumpsToThisTo, removeBoxPointingToThis, toStringapplyaddAllTagsOf, addTag, getJavaSourceStartColumnNumber, getJavaSourceStartLineNumber, getTag, getTags, hasTag, removeAllTags, removeTagpublic int getInCount()
getInCount in interface InstgetInCount in class AbstractInstpublic int getInMachineCount()
getInMachineCount in interface InstgetInMachineCount in class AbstractInstpublic int getOutCount()
getOutCount in interface InstgetOutCount in class AbstractInstpublic int getOutMachineCount()
getOutMachineCount in interface InstgetOutMachineCount in class AbstractInstpublic List<UnitBox> getUnitBoxes()
AbstractUnitgetUnitBoxes in interface UnitgetUnitBoxes in class AbstractUnitpublic boolean fallsThrough()
UnitfallsThrough in interface UnitfallsThrough in class AbstractInstpublic boolean branches()
Unitbranches in interface Unitbranches in class AbstractInstpublic Unit getDefaultTarget()
getDefaultTarget in interface SwitchInstpublic void setDefaultTarget(Unit defaultTarget)
setDefaultTarget in interface SwitchInstpublic UnitBox getDefaultTargetBox()
getDefaultTargetBox in interface SwitchInstpublic int getTargetCount()
getTargetCount in interface SwitchInstpublic Unit getTarget(int index)
getTarget in interface SwitchInstpublic void setTarget(int index,
Unit target)
setTarget in interface SwitchInstpublic void setTargets(List<Unit> targets)
setTargets in interface SwitchInstpublic UnitBox getTargetBox(int index)
getTargetBox in interface SwitchInstpublic List<Unit> getTargets()
getTargets in interface SwitchInstCopyright © 2021 Soot OSS. All rights reserved.