Class ImmutableInstruction21ih
- java.lang.Object
-
- org.jf.dexlib2.immutable.instruction.ImmutableInstruction
-
- org.jf.dexlib2.immutable.instruction.ImmutableInstruction21ih
-
- All Implemented Interfaces:
Instruction21ih,HatLiteralInstruction,Instruction,NarrowHatLiteralInstruction,NarrowLiteralInstruction,OneRegisterInstruction,WideLiteralInstruction
public class ImmutableInstruction21ih extends ImmutableInstruction implements Instruction21ih
-
-
Constructor Summary
Constructors Constructor Description ImmutableInstruction21ih(Opcode opcode, int registerA, int literal)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FormatgetFormat()shortgetHatLiteral()intgetNarrowLiteral()intgetRegisterA()longgetWideLiteral()static ImmutableInstruction21ihof(Instruction21ih 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
-
ImmutableInstruction21ih
public ImmutableInstruction21ih(@Nonnull Opcode opcode, int registerA, int literal)
-
-
Method Detail
-
of
public static ImmutableInstruction21ih of(Instruction21ih 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
-
getHatLiteral
public short getHatLiteral()
- Specified by:
getHatLiteralin interfaceHatLiteralInstruction- Returns:
- the high order 16 bits of the literal, as a short value
-
getFormat
public Format getFormat()
- Specified by:
getFormatin classImmutableInstruction
-
-