org.jf.baksmali.Adaptors
Class MethodDefinition
java.lang.Object
org.jf.baksmali.Adaptors.MethodDefinition
public class MethodDefinition
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
classDef
@Nonnull
public final ClassDefinition classDef
method
@Nonnull
public final org.jf.dexlib2.iface.Method method
methodImpl
@Nonnull
public final org.jf.dexlib2.iface.MethodImplementation methodImpl
instructions
@Nonnull
public final com.google.common.collect.ImmutableList<org.jf.dexlib2.iface.instruction.Instruction> instructions
methodParameters
@Nonnull
public final com.google.common.collect.ImmutableList<org.jf.dexlib2.iface.MethodParameter> methodParameters
registerFormatter
public RegisterFormatter registerFormatter
MethodDefinition
public MethodDefinition(@Nonnull
ClassDefinition classDef,
@Nonnull
org.jf.dexlib2.iface.Method method,
@Nonnull
org.jf.dexlib2.iface.MethodImplementation methodImpl)
writeEmptyMethodTo
public static void writeEmptyMethodTo(org.jf.util.IndentingWriter writer,
org.jf.dexlib2.iface.Method method,
baksmaliOptions options)
throws java.io.IOException
- Throws:
java.io.IOException
writeTo
public void writeTo(org.jf.util.IndentingWriter writer)
throws java.io.IOException
- Throws:
java.io.IOException
findSwitchPayload
public int findSwitchPayload(int targetOffset,
org.jf.dexlib2.Opcode type)
getLabelCache
@Nonnull
public MethodDefinition.LabelCache getLabelCache()
getPackedSwitchBaseAddress
public int getPackedSwitchBaseAddress(int packedSwitchPayloadCodeOffset)
getSparseSwitchBaseAddress
public int getSparseSwitchBaseAddress(int sparseSwitchPayloadCodeOffset)