Class BuilderInstruction21ih
- java.lang.Object
-
- org.jf.dexlib2.builder.BuilderInstruction
-
- org.jf.dexlib2.builder.instruction.BuilderInstruction21ih
-
- All Implemented Interfaces:
Instruction21ih,HatLiteralInstruction,Instruction,NarrowHatLiteralInstruction,NarrowLiteralInstruction,OneRegisterInstruction,WideLiteralInstruction
public class BuilderInstruction21ih extends BuilderInstruction implements Instruction21ih
-
-
Constructor Summary
Constructors Constructor Description BuilderInstruction21ih(Opcode opcode, int registerA, int literal)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormatgetFormat()shortgetHatLiteral()intgetNarrowLiteral()intgetRegisterA()longgetWideLiteral()-
Methods inherited from class org.jf.dexlib2.builder.BuilderInstruction
getCodeUnits, getLocation, getOpcode
-
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
-
BuilderInstruction21ih
public BuilderInstruction21ih(@Nonnull Opcode opcode, int registerA, int literal)
-
-
Method Detail
-
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 classBuilderInstruction
-
-