public class BuilderPackedSwitchPayload extends BuilderSwitchPayload implements PackedSwitchPayload
| Modifier and Type | Field and Description |
|---|---|
static Opcode |
OPCODE |
protected java.util.List<BuilderSwitchElement> |
switchElements |
opcode| Constructor and Description |
|---|
BuilderPackedSwitchPayload(int startKey,
java.util.List<? extends Label> switchElements) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCodeUnits()
Gets the size of this instruction.
|
Format |
getFormat() |
java.util.List<BuilderSwitchElement> |
getSwitchElements() |
getReferrergetLocation, getOpcodeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOpcodepublic static final Opcode OPCODE
@Nonnull protected final java.util.List<BuilderSwitchElement> switchElements
public BuilderPackedSwitchPayload(int startKey,
@Nullable
java.util.List<? extends Label> switchElements)
@Nonnull public java.util.List<BuilderSwitchElement> getSwitchElements()
getSwitchElements in interface PackedSwitchPayloadgetSwitchElements in interface SwitchPayloadgetSwitchElements in class BuilderSwitchPayloadpublic int getCodeUnits()
InstructiongetCodeUnits in interface InstructiongetCodeUnits in class BuilderInstructionpublic Format getFormat()
getFormat in class BuilderInstruction