public abstract class ImmutableInstruction extends java.lang.Object implements Instruction
| Modifier | Constructor and Description |
|---|---|
protected |
ImmutableInstruction(Opcode opcode) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCodeUnits()
Gets the size of this instruction.
|
abstract Format |
getFormat() |
Opcode |
getOpcode()
Gets the opcode of this instruction.
|
static com.google.common.collect.ImmutableList<ImmutableInstruction> |
immutableListOf(java.lang.Iterable<? extends Instruction> list) |
static ImmutableInstruction |
of(Instruction instruction) |
@Nonnull protected final Opcode opcode
protected ImmutableInstruction(@Nonnull
Opcode opcode)
@Nonnull public static ImmutableInstruction of(Instruction instruction)
@Nonnull public Opcode getOpcode()
InstructiongetOpcode in interface Instructionpublic abstract Format getFormat()
public int getCodeUnits()
InstructiongetCodeUnits in interface Instruction@Nonnull public static com.google.common.collect.ImmutableList<ImmutableInstruction> immutableListOf(java.lang.Iterable<? extends Instruction> list)