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