public class JTableSwitchStmt extends AbstractSwitchStmt implements TableSwitchStmt
| Modifier and Type | Field and Description |
|---|---|
protected int |
highIndex |
protected int |
lowIndex |
defaultTargetBox, keyBox, stmtBoxes, targetBoxesboxesPointingToThiscol, line, mTagList| Modifier | Constructor and Description |
|---|---|
protected |
JTableSwitchStmt(ValueBox keyBox,
int lowIndex,
int highIndex,
UnitBox[] targetBoxes,
UnitBox defaultTargetBox) |
|
JTableSwitchStmt(Value key,
int lowIndex,
int highIndex,
List<? extends Unit> targets,
Unit defaultTarget) |
|
JTableSwitchStmt(Value key,
int lowIndex,
int highIndex,
List<? extends UnitBox> targets,
UnitBox defaultTarget) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(Switch sw)
Used to implement the Switchable construct.
|
Object |
clone()
Returns a deep clone of this object.
|
void |
convertToBaf(JimpleToBafContext context,
List<Unit> out) |
int |
getHighIndex() |
int |
getLowIndex() |
Unit |
getTargetForValue(int value)
Returns the target unit if a value with value
"value" is the key
|
void |
setHighIndex(int highIndex) |
void |
setLowIndex(int lowIndex) |
String |
toString() |
void |
toString(UnitPrinter up) |
branches, fallsThrough, getDefaultTarget, getDefaultTargetBox, getKey, getKeyBox, getTarget, getTargetBox, getTargetBoxesArray, getTargetCount, getTargets, getUnitBoxes, getUseBoxes, setDefaultTarget, setKey, setTarget, setTargets, setTargetscontainsArrayRef, containsFieldRef, containsInvokeExpr, getArrayRef, getArrayRefBox, getFieldRef, getFieldRefBox, getInvokeExpr, getInvokeExprBoxaddBoxPointingToThis, clearUnitBoxes, getBoxesPointingToThis, getDefBoxes, getUseAndDefBoxes, redirectJumpsToThisTo, removeBoxPointingToThisaddAllTagsOf, addTag, getJavaSourceStartColumnNumber, getJavaSourceStartLineNumber, getTag, getTags, hasTag, removeAllTags, removeTagequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetTargetsgetDefaultTarget, getDefaultTargetBox, getKey, getKeyBox, getTarget, getTargetBox, getTargets, setDefaultTarget, setKey, setTargetcontainsArrayRef, containsFieldRef, containsInvokeExpr, getArrayRef, getArrayRefBox, getFieldRef, getFieldRefBox, getInvokeExpr, getInvokeExprBoxaddBoxPointingToThis, branches, clearUnitBoxes, fallsThrough, getBoxesPointingToThis, getDefBoxes, getUnitBoxes, getUseAndDefBoxes, getUseBoxes, redirectJumpsToThisTo, removeBoxPointingToThisaddAllTagsOf, addTag, getJavaSourceStartColumnNumber, getJavaSourceStartLineNumber, getTag, getTags, hasTag, removeAllTags, removeTagpublic JTableSwitchStmt(Value key, int lowIndex, int highIndex, List<? extends Unit> targets, Unit defaultTarget)
public JTableSwitchStmt(Value key, int lowIndex, int highIndex, List<? extends UnitBox> targets, UnitBox defaultTarget)
public Object clone()
AbstractUnitclone in interface Unitclone in class AbstractUnitpublic void toString(UnitPrinter up)
public void setLowIndex(int lowIndex)
setLowIndex in interface TableSwitchStmtpublic void setHighIndex(int highIndex)
setHighIndex in interface TableSwitchStmtpublic int getLowIndex()
getLowIndex in interface TableSwitchStmtpublic int getHighIndex()
getHighIndex in interface TableSwitchStmtpublic void apply(Switch sw)
AbstractUnitapply in interface Switchableapply in class AbstractUnitpublic void convertToBaf(JimpleToBafContext context, List<Unit> out)
convertToBaf in interface ConvertToBafconvertToBaf in class AbstractStmtpublic Unit getTargetForValue(int value)
SwitchStmtgetTargetForValue in interface SwitchStmtvalue - the valueCopyright © 2024 Soot OSS. All rights reserved.