Package org.teavm.model.instructions
Class SwitchTableEntry
- java.lang.Object
-
- org.teavm.model.instructions.SwitchTableEntry
-
- All Implemented Interfaces:
SwitchTableEntryReader
public class SwitchTableEntry extends Object implements SwitchTableEntryReader
-
-
Constructor Summary
Constructors Constructor Description SwitchTableEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCondition()SwitchInstructiongetInstruction()BasicBlockgetTarget()voidsetCondition(int condition)voidsetTarget(BasicBlock target)
-
-
-
Method Detail
-
getInstruction
public SwitchInstruction getInstruction()
-
getCondition
public int getCondition()
- Specified by:
getConditionin interfaceSwitchTableEntryReader
-
setCondition
public void setCondition(int condition)
-
getTarget
public BasicBlock getTarget()
- Specified by:
getTargetin interfaceSwitchTableEntryReader
-
setTarget
public void setTarget(BasicBlock target)
-
-