public class JTableSwitchStmt extends AbstractSwitchStmt implements TableSwitchStmt
targetBoxes
col, 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,
java.util.List<? extends Unit> targets,
Unit defaultTarget) |
|
JTableSwitchStmt(Value key,
int lowIndex,
int highIndex,
java.util.List<? extends UnitBox> targets,
UnitBox defaultTarget) |
Modifier and Type | Method and Description |
---|---|
void |
apply(Switch sw)
Used to implement the Switchable construct.
|
java.lang.Object |
clone()
Returns a deep clone of this object.
|
void |
convertToBaf(JimpleToBafContext context,
java.util.List<Unit> out) |
int |
getHighIndex() |
int |
getLowIndex() |
void |
setHighIndex(int highIndex) |
void |
setLowIndex(int lowIndex) |
java.lang.String |
toString() |
void |
toString(UnitPrinter up) |
branches, fallsThrough, getDefaultTarget, getDefaultTargetBox, getKey, getKeyBox, getTarget, getTargetBox, getTargetCount, getTargets, getUnitBoxes, getUseBoxes, setDefaultTarget, setKey, setTarget, setTargets, setTargets
containsArrayRef, containsFieldRef, containsInvokeExpr, getArrayRef, getArrayRefBox, getFieldRef, getFieldRefBox, getInvokeExpr, getInvokeExprBox
addBoxPointingToThis, clearUnitBoxes, getBoxesPointingToThis, getDefBoxes, getUseAndDefBoxes, redirectJumpsToThisTo, removeBoxPointingToThis
addAllTagsOf, addTag, getJavaSourceStartColumnNumber, getJavaSourceStartLineNumber, getTag, getTags, hasTag, removeAllTags, removeTag
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
setTargets
getDefaultTarget, getDefaultTargetBox, getKey, getKeyBox, getTarget, getTargetBox, getTargets, setDefaultTarget, setKey, setTarget
containsArrayRef, containsFieldRef, containsInvokeExpr, getArrayRef, getArrayRefBox, getFieldRef, getFieldRefBox, getInvokeExpr, getInvokeExprBox
addBoxPointingToThis, branches, clearUnitBoxes, fallsThrough, getBoxesPointingToThis, getDefBoxes, getUnitBoxes, getUseAndDefBoxes, getUseBoxes, redirectJumpsToThisTo, removeBoxPointingToThis
addAllTagsOf, addTag, getJavaSourceStartColumnNumber, getJavaSourceStartLineNumber, getTag, getTags, hasTag, removeAllTags, removeTag
public JTableSwitchStmt(Value key, int lowIndex, int highIndex, java.util.List<? extends Unit> targets, Unit defaultTarget)
public JTableSwitchStmt(Value key, int lowIndex, int highIndex, java.util.List<? extends UnitBox> targets, UnitBox defaultTarget)
public java.lang.Object clone()
AbstractUnit
clone
in interface Unit
clone
in class AbstractUnit
public java.lang.String toString()
toString
in class java.lang.Object
public void toString(UnitPrinter up)
public void setLowIndex(int lowIndex)
setLowIndex
in interface TableSwitchStmt
public void setHighIndex(int highIndex)
setHighIndex
in interface TableSwitchStmt
public int getLowIndex()
getLowIndex
in interface TableSwitchStmt
public int getHighIndex()
getHighIndex
in interface TableSwitchStmt
public void apply(Switch sw)
AbstractUnit
apply
in interface Switchable
apply
in class AbstractUnit
public void convertToBaf(JimpleToBafContext context, java.util.List<Unit> out)
convertToBaf
in interface ConvertToBaf
convertToBaf
in class AbstractStmt