Class ImmutableInstruction12x
- java.lang.Object
-
- org.jf.dexlib2.immutable.instruction.ImmutableInstruction
-
- org.jf.dexlib2.immutable.instruction.ImmutableInstruction12x
-
- All Implemented Interfaces:
Instruction12x
,Instruction
,OneRegisterInstruction
,TwoRegisterInstruction
public class ImmutableInstruction12x extends ImmutableInstruction implements Instruction12x
-
-
Constructor Summary
Constructors Constructor Description ImmutableInstruction12x(Opcode opcode, int registerA, int registerB)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Format
getFormat()
int
getRegisterA()
int
getRegisterB()
static ImmutableInstruction12x
of(Instruction12x 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
-
-
Constructor Detail
-
ImmutableInstruction12x
public ImmutableInstruction12x(@Nonnull Opcode opcode, int registerA, int registerB)
-
-
Method Detail
-
of
public static ImmutableInstruction12x of(Instruction12x instruction)
-
getRegisterA
public int getRegisterA()
- Specified by:
getRegisterA
in interfaceOneRegisterInstruction
-
getRegisterB
public int getRegisterB()
- Specified by:
getRegisterB
in interfaceTwoRegisterInstruction
-
getFormat
public Format getFormat()
- Specified by:
getFormat
in classImmutableInstruction
-
-