public final class SparseSwitchPayloadDecodedInstruction extends DecodedInstruction
packed-switch instruction.| Constructor and Description |
|---|
SparseSwitchPayloadDecodedInstruction(InstructionCodec format,
int opcode,
int[] keys,
int[] targets)
Constructs an instance.
|
| Modifier and Type | Method and Description |
|---|---|
int[] |
getKeys() |
int |
getRegisterCount() |
int[] |
getTargets() |
DecodedInstruction |
withIndex(int newIndex)
Returns an instance just like this one, except with the index replaced
with the given one.
|
decode, decodeAll, encode, getA, getAByte, getANibble, getAUnit, getB, getBByte, getBNibble, getBUnit, getC, getCByte, getCNibble, getCUnit, getD, getDByte, getDNibble, getDUnit, getE, getENibble, getFormat, getIndex, getIndexType, getIndexUnit, getLiteral, getLiteralByte, getLiteralInt, getLiteralNibble, getLiteralUnit, getOpcode, getOpcodeUnit, getProtoIndex, getRegisterCountUnit, getTarget, getTarget, getTargetByte, getTargetUnit, withProtoIndexpublic SparseSwitchPayloadDecodedInstruction(InstructionCodec format, int opcode, int[] keys, int[] targets)
public int getRegisterCount()
getRegisterCount in class DecodedInstructionpublic int[] getKeys()
public int[] getTargets()
public DecodedInstruction withIndex(int newIndex)
withIndex in class DecodedInstructionCopyright © 2020. All Rights Reserved.