Class ImmutableInstruction3rc
- java.lang.Object
-
- org.jf.dexlib2.immutable.instruction.ImmutableInstruction
-
- org.jf.dexlib2.immutable.instruction.ImmutableInstruction3rc
-
- All Implemented Interfaces:
Instruction3rc
,Instruction
,ReferenceInstruction
,RegisterRangeInstruction
,VariableRegisterInstruction
public class ImmutableInstruction3rc extends ImmutableInstruction implements Instruction3rc
-
-
Field Summary
Fields Modifier and Type Field Description static Format
FORMAT
protected ImmutableReference
reference
protected int
registerCount
protected int
startRegister
-
Fields inherited from class org.jf.dexlib2.immutable.instruction.ImmutableInstruction
opcode
-
-
Constructor Summary
Constructors Constructor Description ImmutableInstruction3rc(Opcode opcode, int startRegister, int registerCount, Reference reference)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Format
getFormat()
ImmutableReference
getReference()
int
getReferenceType()
int
getRegisterCount()
int
getStartRegister()
static ImmutableInstruction3rc
of(Instruction3rc 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
-
startRegister
protected final int startRegister
-
registerCount
protected final int registerCount
-
reference
@Nonnull protected final ImmutableReference reference
-
-
Method Detail
-
of
public static ImmutableInstruction3rc of(Instruction3rc instruction)
-
getStartRegister
public int getStartRegister()
- Specified by:
getStartRegister
in interfaceRegisterRangeInstruction
-
getRegisterCount
public int getRegisterCount()
- Specified by:
getRegisterCount
in interfaceVariableRegisterInstruction
-
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
-
-