Package com.strobel.assembler.metadata
Class SwitchInfo
- java.lang.Object
-
- com.strobel.assembler.metadata.SwitchInfo
-
public final class SwitchInfo extends java.lang.ObjectUser: Mike Strobel Date: 1/6/13 Time: 3:21 PM
-
-
Field Summary
Fields Modifier and Type Field Description private Instruction_defaultTargetprivate int_highValueprivate int[]_keysprivate int_lowValueprivate Instruction[]_targets
-
Constructor Summary
Constructors Constructor Description SwitchInfo()SwitchInfo(int[] keys, Instruction defaultTarget, Instruction[] targets)SwitchInfo(Instruction defaultTarget, Instruction[] targets)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstructiongetDefaultTarget()intgetHighValue()int[]getKeys()intgetLowValue()Instruction[]getTargets()booleanhasKeys()voidsetDefaultTarget(Instruction defaultTarget)voidsetHighValue(int highValue)voidsetKeys(int... keys)voidsetLowValue(int lowValue)voidsetTargets(Instruction... targets)
-
-
-
Field Detail
-
_lowValue
private int _lowValue
-
_highValue
private int _highValue
-
_keys
private int[] _keys
-
_defaultTarget
private Instruction _defaultTarget
-
_targets
private Instruction[] _targets
-
-
Constructor Detail
-
SwitchInfo
public SwitchInfo()
-
SwitchInfo
public SwitchInfo(Instruction defaultTarget, Instruction[] targets)
-
SwitchInfo
public SwitchInfo(int[] keys, Instruction defaultTarget, Instruction[] targets)
-
-
Method Detail
-
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
public Instruction getDefaultTarget()
-
getTargets
public Instruction[] getTargets()
-
setKeys
public void setKeys(int... keys)
-
setDefaultTarget
public void setDefaultTarget(Instruction defaultTarget)
-
setTargets
public void setTargets(Instruction... targets)
-
-