protected class InstructionRewriter.BaseRewrittenReferenceInstruction<T extends ReferenceInstruction> extends java.lang.Object implements ReferenceInstruction
| Modifier and Type | Field and Description |
|---|---|
protected T |
instruction |
| Modifier | Constructor and Description |
|---|---|
protected |
BaseRewrittenReferenceInstruction(T instruction) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCodeUnits()
Gets the size of this instruction.
|
Opcode |
getOpcode()
Gets the opcode of this instruction.
|
Reference |
getReference() |
int |
getReferenceType() |
@Nonnull protected T extends ReferenceInstruction instruction
protected BaseRewrittenReferenceInstruction(@Nonnull
T instruction)
@Nonnull public Reference getReference()
getReference in interface ReferenceInstructionpublic int getReferenceType()
getReferenceType in interface ReferenceInstructionpublic Opcode getOpcode()
InstructiongetOpcode in interface Instructionpublic int getCodeUnits()
InstructiongetCodeUnits in interface Instruction