public class JLookupSwitchStmt extends AbstractSwitchStmt implements LookupSwitchStmt
targetBoxesboxesPointingToThiscol, line, mTagList| Modifier | Constructor and Description |
|---|---|
protected |
JLookupSwitchStmt(ValueBox keyBox,
List<IntConstant> lookupValues,
UnitBox[] targetBoxes,
UnitBox defaultTargetBox) |
|
JLookupSwitchStmt(Value key,
List<IntConstant> lookupValues,
List<? extends Unit> targets,
Unit defaultTarget)
Constructs a new JLookupSwitchStmt.
|
|
JLookupSwitchStmt(Value key,
List<IntConstant> lookupValues,
List<? extends UnitBox> targets,
UnitBox defaultTarget)
Constructs a new JLookupSwitchStmt.
|
| 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 |
getLookupValue(int index) |
List<IntConstant> |
getLookupValues() |
void |
setLookupValue(int index,
int value) |
void |
setLookupValues(List<IntConstant> lookupValues) |
String |
toString() |
void |
toString(UnitPrinter up) |
branches, fallsThrough, getDefaultTarget, getDefaultTargetBox, getKey, getKeyBox, getTarget, getTargetBox, 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, waitgetTargetCount, setTargetsgetDefaultTarget, 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 JLookupSwitchStmt(Value key, List<IntConstant> lookupValues, List<? extends Unit> targets, Unit defaultTarget)
public JLookupSwitchStmt(Value key, List<IntConstant> lookupValues, List<? extends UnitBox> targets, UnitBox defaultTarget)
protected JLookupSwitchStmt(ValueBox keyBox, List<IntConstant> lookupValues, UnitBox[] targetBoxes, UnitBox defaultTargetBox)
public Object clone()
AbstractUnitclone in interface Unitclone in class AbstractUnitpublic void toString(UnitPrinter up)
public void setLookupValues(List<IntConstant> lookupValues)
setLookupValues in interface LookupSwitchStmtpublic void setLookupValue(int index,
int value)
setLookupValue in interface LookupSwitchStmtpublic int getLookupValue(int index)
getLookupValue in interface LookupSwitchStmtpublic List<IntConstant> getLookupValues()
getLookupValues in interface LookupSwitchStmtpublic void apply(Switch sw)
AbstractUnitapply in interface Switchableapply in class AbstractUnitpublic void convertToBaf(JimpleToBafContext context, List<Unit> out)
convertToBaf in interface ConvertToBafconvertToBaf in class AbstractStmtCopyright © 2020 Soot OSS. All rights reserved.