public abstract class AbstractSwitchInst extends AbstractInst implements SwitchInst
boxesPointingToThis
col, 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, toString
addBoxPointingToThis, apply, clearUnitBoxes, getBoxesPointingToThis, getDefBoxes, getUseAndDefBoxes, getUseBoxes, redirectJumpsToThisTo, removeBoxPointingToThis
addAllTagsOf, addTag, getJavaSourceStartColumnNumber, getJavaSourceStartLineNumber, getTag, getTags, hasTag, removeAllTags, removeTag
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
containsArrayRef, containsFieldRef, containsInvokeExpr, containsNewExpr, getNetCount, getNetMachineCount
addBoxPointingToThis, clearUnitBoxes, clone, getBoxesPointingToThis, getDefBoxes, getUseAndDefBoxes, getUseBoxes, redirectJumpsToThisTo, removeBoxPointingToThis, toString
apply
addAllTagsOf, addTag, getJavaSourceStartColumnNumber, getJavaSourceStartLineNumber, getTag, getTags, hasTag, removeAllTags, removeTag
public int getInCount()
getInCount
in interface Inst
getInCount
in class AbstractInst
public int getInMachineCount()
getInMachineCount
in interface Inst
getInMachineCount
in class AbstractInst
public int getOutCount()
getOutCount
in interface Inst
getOutCount
in class AbstractInst
public int getOutMachineCount()
getOutMachineCount
in interface Inst
getOutMachineCount
in class AbstractInst
public List<UnitBox> getUnitBoxes()
AbstractUnit
getUnitBoxes
in interface Unit
getUnitBoxes
in class AbstractUnit
public boolean fallsThrough()
Unit
fallsThrough
in interface Unit
fallsThrough
in class AbstractInst
public boolean branches()
Unit
branches
in interface Unit
branches
in class AbstractInst
public Unit getDefaultTarget()
getDefaultTarget
in interface SwitchInst
public void setDefaultTarget(Unit defaultTarget)
setDefaultTarget
in interface SwitchInst
public UnitBox getDefaultTargetBox()
getDefaultTargetBox
in interface SwitchInst
public int getTargetCount()
getTargetCount
in interface SwitchInst
public Unit getTarget(int index)
getTarget
in interface SwitchInst
public void setTarget(int index, Unit target)
setTarget
in interface SwitchInst
public void setTargets(List<Unit> targets)
setTargets
in interface SwitchInst
public UnitBox getTargetBox(int index)
getTargetBox
in interface SwitchInst
public List<Unit> getTargets()
getTargets
in interface SwitchInst
Copyright © 2021 Soot OSS. All rights reserved.