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