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
public class ImmutableInstruction22s extends ImmutableInstruction implements Instruction22s
-
-
Constructor Summary
Constructors Constructor Description ImmutableInstruction22s(Opcode opcode, int registerA, int registerB, int literal)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FormatgetFormat()intgetNarrowLiteral()intgetRegisterA()intgetRegisterB()longgetWideLiteral()static ImmutableInstruction22sof(Instruction22s 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
-
ImmutableInstruction22s
public ImmutableInstruction22s(@Nonnull Opcode opcode, int registerA, int registerB, int literal)
-
-
Method Detail
-
of
public static ImmutableInstruction22s of(Instruction22s instruction)
-
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
public Format getFormat()
- Specified by:
getFormatin classImmutableInstruction
-
-