public class BLookupSwitchInst extends AbstractInst implements LookupSwitchInst
col, line, mTagList| Constructor and Description | 
|---|
| BLookupSwitchInst(Unit defaultTarget,
                 java.util.List lookupValues,
                 java.util.List targets) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | apply(Switch sw)Used to implement the Switchable construct. | 
| boolean | branches()Returns true if execution after this statement does not necessarily continue at the following statement. | 
| java.lang.Object | clone()Returns a deep clone of this object. | 
| boolean | fallsThrough()Returns true if execution after this statement may continue at the following statement. | 
| Unit | getDefaultTarget() | 
| UnitBox | getDefaultTargetBox() | 
| int | getInCount() | 
| int | getInMachineCount() | 
| int | getLookupValue(int index) | 
| java.util.List | getLookupValues() | 
| java.lang.String | getName() | 
| int | getOutCount() | 
| int | getOutMachineCount() | 
| Unit | getTarget(int index) | 
| UnitBox | getTargetBox(int index) | 
| int | getTargetCount() | 
| java.util.List | getTargets() | 
| java.util.List | getUnitBoxes()Returns a list of Boxes containing Units defined in this Unit; typically
 branch targets. | 
| void | setDefaultTarget(Unit defaultTarget) | 
| void | setLookupValue(int index,
              int value) | 
| void | setLookupValues(java.util.List lookupValues) | 
| void | setTarget(int index,
         Unit target) | 
| void | setTargets(java.util.List<Unit> targets) | 
| java.lang.String | toString() | 
| void | toString(UnitPrinter up) | 
containsArrayRef, containsFieldRef, containsInvokeExpr, containsNewExpr, getNetCount, getNetMachineCount, getParametersaddBoxPointingToThis, clearUnitBoxes, getBoxesPointingToThis, getDefBoxes, getUseAndDefBoxes, getUseBoxes, redirectJumpsToThisTo, removeBoxPointingToThisaddAllTagsOf, addTag, getJavaSourceStartColumnNumber, getJavaSourceStartLineNumber, getTag, getTags, hasTag, removeAllTags, removeTagequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcontainsArrayRef, containsFieldRef, containsInvokeExpr, containsNewExpr, getNetCount, getNetMachineCountaddBoxPointingToThis, clearUnitBoxes, getBoxesPointingToThis, getDefBoxes, getUseAndDefBoxes, getUseBoxes, redirectJumpsToThisTo, removeBoxPointingToThisaddAllTagsOf, addTag, getJavaSourceStartColumnNumber, getJavaSourceStartLineNumber, getTag, getTags, hasTag, removeAllTags, removeTagpublic BLookupSwitchInst(Unit defaultTarget, java.util.List lookupValues, java.util.List targets)
public java.lang.Object clone()
AbstractUnitclone in interface Unitclone in class AbstractInstpublic int getInCount()
getInCount in interface InstgetInCount in class AbstractInstpublic int getInMachineCount()
getInMachineCount in interface InstgetInMachineCount in class AbstractInstpublic int getOutCount()
getOutCount in interface InstgetOutCount in class AbstractInstpublic int getOutMachineCount()
getOutMachineCount in interface InstgetOutMachineCount in class AbstractInstpublic Unit getDefaultTarget()
getDefaultTarget in interface LookupSwitchInstpublic void setDefaultTarget(Unit defaultTarget)
setDefaultTarget in interface LookupSwitchInstpublic UnitBox getDefaultTargetBox()
getDefaultTargetBox in interface LookupSwitchInstpublic void setLookupValues(java.util.List lookupValues)
setLookupValues in interface LookupSwitchInstpublic void setLookupValue(int index,
                           int value)
setLookupValue in interface LookupSwitchInstpublic int getLookupValue(int index)
getLookupValue in interface LookupSwitchInstpublic java.util.List getLookupValues()
getLookupValues in interface LookupSwitchInstpublic int getTargetCount()
getTargetCount in interface LookupSwitchInstpublic Unit getTarget(int index)
getTarget in interface LookupSwitchInstpublic void setTarget(int index,
                      Unit target)
setTarget in interface LookupSwitchInstpublic void setTargets(java.util.List<Unit> targets)
setTargets in interface LookupSwitchInstpublic UnitBox getTargetBox(int index)
getTargetBox in interface LookupSwitchInstpublic java.util.List getTargets()
getTargets in interface LookupSwitchInstpublic java.lang.String getName()
getName in class AbstractInstpublic java.lang.String toString()
toString in class AbstractInstpublic void toString(UnitPrinter up)
toString in interface UnittoString in class AbstractInstpublic java.util.List getUnitBoxes()
AbstractUnitgetUnitBoxes in interface UnitgetUnitBoxes in class AbstractUnitpublic void apply(Switch sw)
AbstractUnitapply in interface Switchableapply in class AbstractUnitpublic boolean fallsThrough()
UnitfallsThrough in interface UnitfallsThrough in class AbstractInstpublic boolean branches()
Unitbranches in interface Unitbranches in class AbstractInst