public final class SwitchInfo
extends java.lang.Object
| Constructor and Description |
|---|
SwitchInfo() |
SwitchInfo(Instruction defaultTarget,
Instruction[] targets) |
SwitchInfo(int[] keys,
Instruction defaultTarget,
Instruction[] targets) |
| Modifier and Type | Method and Description |
|---|---|
Instruction |
getDefaultTarget() |
int |
getHighValue() |
int[] |
getKeys() |
int |
getLowValue() |
Instruction[] |
getTargets() |
boolean |
hasKeys() |
void |
setDefaultTarget(Instruction defaultTarget) |
void |
setHighValue(int highValue) |
void |
setKeys(int... keys) |
void |
setLowValue(int lowValue) |
void |
setTargets(Instruction... targets) |
public SwitchInfo()
public SwitchInfo(Instruction defaultTarget, Instruction[] targets)
public SwitchInfo(int[] keys,
Instruction defaultTarget,
Instruction[] targets)
public int getLowValue()
public void setLowValue(int lowValue)
public int getHighValue()
public void setHighValue(int highValue)
public boolean hasKeys()
public int[] getKeys()
public Instruction getDefaultTarget()
public Instruction[] getTargets()
public void setKeys(int... keys)
public void setDefaultTarget(Instruction defaultTarget)
public void setTargets(Instruction... targets)