Package soot.jimple
Interface SwitchStmt
-
- All Superinterfaces:
Context,Host,Serializable,Stmt,Switchable,Unit
- All Known Subinterfaces:
LookupSwitchStmt,TableSwitchStmt
- All Known Implementing Classes:
AbstractSwitchStmt,GLookupSwitchStmt,GTableSwitchStmt,JLookupSwitchStmt,JTableSwitchStmt
public interface SwitchStmt extends Stmt
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UnitgetDefaultTarget()UnitBoxgetDefaultTargetBox()ValuegetKey()ValueBoxgetKeyBox()UnitgetTarget(int index)UnitBoxgetTargetBox(int index)UnitgetTargetForValue(int value)Returns the target unit if a value with value "value" is the keyList<Unit>getTargets()voidsetDefaultTarget(Unit defaultTarget)voidsetKey(Value key)voidsetTarget(int index, Unit target)-
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, branches, clearUnitBoxes, clone, fallsThrough, getBoxesPointingToThis, getDefBoxes, getUnitBoxes, getUseAndDefBoxes, getUseBoxes, redirectJumpsToThisTo, removeBoxPointingToThis, toString
-
-
-
-
Method Detail
-
getDefaultTarget
Unit getDefaultTarget()
-
setDefaultTarget
void setDefaultTarget(Unit defaultTarget)
-
getDefaultTargetBox
UnitBox getDefaultTargetBox()
-
getKey
Value getKey()
-
setKey
void setKey(Value key)
-
getKeyBox
ValueBox getKeyBox()
-
getTargetForValue
Unit getTargetForValue(int value)
Returns the target unit if a value with value "value" is the key- Parameters:
value- the value- Returns:
- the target
-
getTarget
Unit getTarget(int index)
-
setTarget
void setTarget(int index, Unit target)
-
getTargetBox
UnitBox getTargetBox(int index)
-
-