org.jf.baksmali.Adaptors.Format
Class InstructionMethodItem<T extends org.jf.dexlib2.iface.instruction.Instruction>
java.lang.Object
org.jf.baksmali.Adaptors.MethodItem
org.jf.baksmali.Adaptors.Format.InstructionMethodItem<T>
- All Implemented Interfaces:
- java.lang.Comparable<MethodItem>
- Direct Known Subclasses:
- ArrayDataMethodItem, OffsetInstructionFormatMethodItem, PackedSwitchMethodItem, SparseSwitchMethodItem, UnresolvedOdexInstructionMethodItem
public class InstructionMethodItem<T extends org.jf.dexlib2.iface.instruction.Instruction>
- extends MethodItem
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
methodDef
@Nonnull
protected final MethodDefinition methodDef
instruction
@Nonnull
protected final T extends org.jf.dexlib2.iface.instruction.Instruction instruction
InstructionMethodItem
public InstructionMethodItem(@Nonnull
MethodDefinition methodDef,
int codeAddress,
@Nonnull
T instruction)
getSortOrder
public double getSortOrder()
- Specified by:
getSortOrder in class MethodItem
writeTo
public boolean writeTo(org.jf.util.IndentingWriter writer)
throws java.io.IOException
- Specified by:
writeTo in class MethodItem
- Throws:
java.io.IOException
writeOpcode
protected void writeOpcode(org.jf.util.IndentingWriter writer)
throws java.io.IOException
- Throws:
java.io.IOException
writeTargetLabel
protected void writeTargetLabel(org.jf.util.IndentingWriter writer)
throws java.io.IOException
- Throws:
java.io.IOException
writeRegister
protected void writeRegister(org.jf.util.IndentingWriter writer,
int registerNumber)
throws java.io.IOException
- Throws:
java.io.IOException
writeFirstRegister
protected void writeFirstRegister(org.jf.util.IndentingWriter writer)
throws java.io.IOException
- Throws:
java.io.IOException
writeSecondRegister
protected void writeSecondRegister(org.jf.util.IndentingWriter writer)
throws java.io.IOException
- Throws:
java.io.IOException
writeThirdRegister
protected void writeThirdRegister(org.jf.util.IndentingWriter writer)
throws java.io.IOException
- Throws:
java.io.IOException
writeInvokeRegisters
protected void writeInvokeRegisters(org.jf.util.IndentingWriter writer)
throws java.io.IOException
- Throws:
java.io.IOException
writeInvokeRangeRegisters
protected void writeInvokeRangeRegisters(org.jf.util.IndentingWriter writer)
throws java.io.IOException
- Throws:
java.io.IOException
writeLiteral
protected void writeLiteral(org.jf.util.IndentingWriter writer)
throws java.io.IOException
- Throws:
java.io.IOException
writeResourceId
protected void writeResourceId(org.jf.util.IndentingWriter writer)
throws java.io.IOException
- Throws:
java.io.IOException
writeResourceId
protected void writeResourceId(org.jf.util.IndentingWriter writer,
int val)
throws java.io.IOException
- Throws:
java.io.IOException
writeFieldOffset
protected void writeFieldOffset(org.jf.util.IndentingWriter writer)
throws java.io.IOException
- Throws:
java.io.IOException
writeInlineIndex
protected void writeInlineIndex(org.jf.util.IndentingWriter writer)
throws java.io.IOException
- Throws:
java.io.IOException
writeVtableIndex
protected void writeVtableIndex(org.jf.util.IndentingWriter writer)
throws java.io.IOException
- Throws:
java.io.IOException