Package com.strobel.assembler.metadata
Class SwitchInfo
java.lang.Object
com.strobel.assembler.metadata.SwitchInfo
User: Mike Strobel
Date: 1/6/13
Time: 3:21 PM
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Instruction
private int
private int[]
private int
private Instruction[]
-
Constructor Summary
ConstructorsConstructorDescriptionSwitchInfo
(int[] keys, Instruction defaultTarget, Instruction[] targets) SwitchInfo
(Instruction defaultTarget, Instruction[] targets) -
Method Summary
Modifier and TypeMethodDescriptionint
int[]
getKeys()
int
boolean
hasKeys()
void
setDefaultTarget
(Instruction defaultTarget) void
setHighValue
(int highValue) void
setKeys
(int... keys) void
setLowValue
(int lowValue) void
setTargets
(Instruction... targets)
-
Field Details
-
_lowValue
private int _lowValue -
_highValue
private int _highValue -
_keys
private int[] _keys -
_defaultTarget
-
_targets
-
-
Constructor Details
-
SwitchInfo
public SwitchInfo() -
SwitchInfo
-
SwitchInfo
-
-
Method Details
-
getLowValue
public int getLowValue() -
setLowValue
public void setLowValue(int lowValue) -
getHighValue
public int getHighValue() -
setHighValue
public void setHighValue(int highValue) -
hasKeys
public boolean hasKeys() -
getKeys
public int[] getKeys() -
getDefaultTarget
-
getTargets
-
setKeys
public void setKeys(int... keys) -
setDefaultTarget
-
setTargets
-