Package org.jf.dexlib2.rewriter
Class InstructionRewriter.BaseRewrittenReferenceInstruction<T extends ReferenceInstruction>
java.lang.Object
org.jf.dexlib2.rewriter.InstructionRewriter.BaseRewrittenReferenceInstruction<T>
- All Implemented Interfaces:
Instruction,ReferenceInstruction
- Direct Known Subclasses:
InstructionRewriter.RewrittenInstruction20bc,InstructionRewriter.RewrittenInstruction21c,InstructionRewriter.RewrittenInstruction22c,InstructionRewriter.RewrittenInstruction31c,InstructionRewriter.RewrittenInstruction35c,InstructionRewriter.RewrittenInstruction3rc
- Enclosing class:
InstructionRewriter
protected class InstructionRewriter.BaseRewrittenReferenceInstruction<T extends ReferenceInstruction>
extends Object
implements ReferenceInstruction
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGets the size of this instruction.Gets the opcode of this instruction.int
-
Field Details
-
instruction
-
-
Constructor Details
-
BaseRewrittenReferenceInstruction
-
-
Method Details
-
getReference
- Specified by:
getReferencein interfaceReferenceInstruction
-
getReferenceType
public int getReferenceType()- Specified by:
getReferenceTypein interfaceReferenceInstruction
-
getOpcode
Description copied from interface:InstructionGets the opcode of this instruction.- Specified by:
getOpcodein interfaceInstruction- Returns:
- The Opcode of this instruction.
-
getCodeUnits
public int getCodeUnits()Description copied from interface:InstructionGets the size of this instruction.- Specified by:
getCodeUnitsin interfaceInstruction- Returns:
- The size of this instruction, as a count of the number of 16-bit code units that make up this instruction.
-