Class ImmutableInstruction22c
- java.lang.Object
-
- org.jf.dexlib2.immutable.instruction.ImmutableInstruction
-
- org.jf.dexlib2.immutable.instruction.ImmutableInstruction22c
-
- All Implemented Interfaces:
Instruction22c
,Instruction
,OneRegisterInstruction
,ReferenceInstruction
,TwoRegisterInstruction
public class ImmutableInstruction22c extends ImmutableInstruction implements Instruction22c
-
-
Field Summary
Fields Modifier and Type Field Description static Format
FORMAT
protected ImmutableReference
reference
protected int
registerA
protected int
registerB
-
Fields inherited from class org.jf.dexlib2.immutable.instruction.ImmutableInstruction
opcode
-
-
Constructor Summary
Constructors Constructor Description ImmutableInstruction22c(Opcode opcode, int registerA, int registerB, Reference reference)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Format
getFormat()
ImmutableReference
getReference()
int
getReferenceType()
int
getRegisterA()
int
getRegisterB()
static ImmutableInstruction22c
of(Instruction22c instruction)
-
Methods inherited from class org.jf.dexlib2.immutable.instruction.ImmutableInstruction
getCodeUnits, getOpcode, immutableListOf, of
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jf.dexlib2.iface.instruction.Instruction
getCodeUnits, getOpcode
-
-
-
-
Field Detail
-
FORMAT
public static final Format FORMAT
-
registerA
protected final int registerA
-
registerB
protected final int registerB
-
reference
@Nonnull protected final ImmutableReference reference
-
-
Method Detail
-
of
public static ImmutableInstruction22c of(Instruction22c instruction)
-
getRegisterA
public int getRegisterA()
- Specified by:
getRegisterA
in interfaceOneRegisterInstruction
-
getRegisterB
public int getRegisterB()
- Specified by:
getRegisterB
in interfaceTwoRegisterInstruction
-
getReference
@Nonnull public ImmutableReference getReference()
- Specified by:
getReference
in interfaceReferenceInstruction
-
getReferenceType
public int getReferenceType()
- Specified by:
getReferenceType
in interfaceReferenceInstruction
-
getFormat
public Format getFormat()
- Specified by:
getFormat
in classImmutableInstruction
-
-