Class ImmutableInstruction21lh
- java.lang.Object
-
- org.jf.dexlib2.immutable.instruction.ImmutableInstruction
-
- org.jf.dexlib2.immutable.instruction.ImmutableInstruction21lh
-
- All Implemented Interfaces:
Instruction21lh
,HatLiteralInstruction
,Instruction
,LongHatLiteralInstruction
,OneRegisterInstruction
,WideLiteralInstruction
public class ImmutableInstruction21lh extends ImmutableInstruction implements Instruction21lh
-
-
Constructor Summary
Constructors Constructor Description ImmutableInstruction21lh(Opcode opcode, int registerA, long literal)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Format
getFormat()
short
getHatLiteral()
int
getRegisterA()
long
getWideLiteral()
static ImmutableInstruction21lh
of(Instruction21lh 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 long literal
-
-
Constructor Detail
-
ImmutableInstruction21lh
public ImmutableInstruction21lh(@Nonnull Opcode opcode, int registerA, long literal)
-
-
Method Detail
-
of
public static ImmutableInstruction21lh of(Instruction21lh instruction)
-
getRegisterA
public int getRegisterA()
- Specified by:
getRegisterA
in interfaceOneRegisterInstruction
-
getWideLiteral
public long getWideLiteral()
- Specified by:
getWideLiteral
in interfaceWideLiteralInstruction
-
getHatLiteral
public short getHatLiteral()
- Specified by:
getHatLiteral
in interfaceHatLiteralInstruction
- Returns:
- the high order 16 bits of the literal, as a short value
-
getFormat
public Format getFormat()
- Specified by:
getFormat
in classImmutableInstruction
-
-