Class ImmutableInstruction22s
java.lang.Object
org.jf.dexlib2.immutable.instruction.ImmutableInstruction
org.jf.dexlib2.immutable.instruction.ImmutableInstruction22s
- All Implemented Interfaces:
Instruction22s, Instruction, NarrowLiteralInstruction, OneRegisterInstruction, TwoRegisterInstruction, WideLiteralInstruction
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Formatprotected final intprotected final intprotected final intFields inherited from class ImmutableInstruction
opcode -
Constructor Summary
ConstructorsConstructorDescriptionImmutableInstruction22s(Opcode opcode, int registerA, int registerB, int literal) -
Method Summary
Modifier and TypeMethodDescriptionintintintlongstatic ImmutableInstruction22sof(Instruction22s instruction) Methods inherited from class ImmutableInstruction
getCodeUnits, getOpcode, immutableListOf, ofMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Instruction
getCodeUnits, getOpcode
-
Field Details
-
FORMAT
-
registerA
protected final int registerA -
registerB
protected final int registerB -
literal
protected final int literal
-
-
Constructor Details
-
ImmutableInstruction22s
-
-
Method Details
-
of
-
getRegisterA
public int getRegisterA()- Specified by:
getRegisterAin interfaceOneRegisterInstruction
-
getRegisterB
public int getRegisterB()- Specified by:
getRegisterBin interfaceTwoRegisterInstruction
-
getNarrowLiteral
public int getNarrowLiteral()- Specified by:
getNarrowLiteralin interfaceNarrowLiteralInstruction
-
getWideLiteral
public long getWideLiteral()- Specified by:
getWideLiteralin interfaceWideLiteralInstruction
-
getFormat
- Specified by:
getFormatin classImmutableInstruction
-