Class ImmutableInstruction11n
- java.lang.Object
-
- org.jf.dexlib2.immutable.instruction.ImmutableInstruction
-
- org.jf.dexlib2.immutable.instruction.ImmutableInstruction11n
-
- All Implemented Interfaces:
Instruction11n,Instruction,NarrowLiteralInstruction,OneRegisterInstruction,WideLiteralInstruction
public class ImmutableInstruction11n extends ImmutableInstruction implements Instruction11n
-
-
Constructor Summary
Constructors Constructor Description ImmutableInstruction11n(Opcode opcode, int registerA, int literal)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FormatgetFormat()intgetNarrowLiteral()intgetRegisterA()longgetWideLiteral()static ImmutableInstruction11nof(Instruction11n 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
-
literal
protected final int literal
-
-
Constructor Detail
-
ImmutableInstruction11n
public ImmutableInstruction11n(@Nonnull Opcode opcode, int registerA, int literal)
-
-
Method Detail
-
of
public static ImmutableInstruction11n of(Instruction11n instruction)
-
getRegisterA
public int getRegisterA()
- Specified by:
getRegisterAin interfaceOneRegisterInstruction
-
getNarrowLiteral
public int getNarrowLiteral()
- Specified by:
getNarrowLiteralin interfaceNarrowLiteralInstruction
-
getWideLiteral
public long getWideLiteral()
- Specified by:
getWideLiteralin interfaceWideLiteralInstruction
-
getFormat
public Format getFormat()
- Specified by:
getFormatin classImmutableInstruction
-
-