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