soot.jimple
Interface LookupSwitchStmt

All Superinterfaces:
Host, java.io.Serializable, Stmt, Switchable, Unit
All Known Implementing Classes:
GLookupSwitchStmt, JLookupSwitchStmt

public interface LookupSwitchStmt
extends Stmt


Method Summary
 Unit getDefaultTarget()
           
 UnitBox getDefaultTargetBox()
           
 Value getKey()
           
 ValueBox getKeyBox()
           
 int getLookupValue(int index)
           
 java.util.List getLookupValues()
           
 Unit getTarget(int index)
           
 UnitBox getTargetBox(int index)
           
 int getTargetCount()
           
 java.util.List getTargets()
           
 void setDefaultTarget(Unit defaultTarget)
           
 void setKey(Value key)
           
 void setLookupValue(int index, int value)
           
 void setLookupValues(java.util.List lookupValues)
           
 void setTarget(int index, Unit target)
           
 void setTargets(Unit[] targets)
           
 
Methods inherited from interface soot.jimple.Stmt
containsArrayRef, containsFieldRef, containsInvokeExpr, getArrayRef, getArrayRefBox, getFieldRef, getFieldRefBox, getInvokeExpr, getInvokeExprBox, toBriefString, toBriefString, toBriefString, toBriefString, toString, toString, toString, toString
 
Methods inherited from interface soot.Unit
branches, clone, fallsThrough, getBoxesPointingToThis, getDefBoxes, getUnitBoxes, getUseAndDefBoxes, getUseBoxes, redirectJumpsToThisTo
 
Methods inherited from interface soot.util.Switchable
apply
 
Methods inherited from interface soot.tagkit.Host
addTag, getTag, getTags, hasTag, removeTag
 

Method Detail

getDefaultTarget

public Unit getDefaultTarget()

setDefaultTarget

public void setDefaultTarget(Unit defaultTarget)

getDefaultTargetBox

public UnitBox getDefaultTargetBox()

getKey

public Value getKey()

setKey

public void setKey(Value key)

getKeyBox

public ValueBox getKeyBox()

setLookupValues

public void setLookupValues(java.util.List lookupValues)

setLookupValue

public void setLookupValue(int index,
                           int value)

getLookupValue

public int getLookupValue(int index)

getLookupValues

public java.util.List getLookupValues()

getTargetCount

public int getTargetCount()

getTarget

public Unit getTarget(int index)

getTargetBox

public UnitBox getTargetBox(int index)

setTarget

public void setTarget(int index,
                      Unit target)

getTargets

public java.util.List getTargets()

setTargets

public void setTargets(Unit[] targets)