public class DexBackedMethodImplementation extends java.lang.Object implements MethodImplementation
| Modifier and Type | Field and Description |
|---|---|
DexBackedDexFile |
dexFile |
DexBackedMethod |
method |
| Constructor and Description |
|---|
DexBackedMethodImplementation(DexBackedDexFile dexFile,
DexBackedMethod method,
int codeOffset) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Iterable<? extends DebugItem> |
getDebugItems()
Get a list of debug items for this method.
|
java.lang.Iterable<? extends Instruction> |
getInstructions()
Gets the instructions in this method.
|
java.util.Iterator<java.lang.String> |
getParameterNames(DexReader dexReader) |
int |
getRegisterCount()
Gets the number of registers in this method.
|
java.util.List<? extends DexBackedTryBlock> |
getTryBlocks()
Gets a list of the try blocks defined for this method.
|
@Nonnull public final DexBackedDexFile dexFile
@Nonnull public final DexBackedMethod method
public DexBackedMethodImplementation(@Nonnull
DexBackedDexFile dexFile,
@Nonnull
DexBackedMethod method,
int codeOffset)
public int getRegisterCount()
MethodImplementationgetRegisterCount in interface MethodImplementation@Nonnull public java.lang.Iterable<? extends Instruction> getInstructions()
MethodImplementationgetInstructions in interface MethodImplementation@Nonnull public java.util.List<? extends DexBackedTryBlock> getTryBlocks()
MethodImplementationgetTryBlocks in interface MethodImplementation@Nonnull public java.lang.Iterable<? extends DebugItem> getDebugItems()
MethodImplementationgetDebugItems in interface MethodImplementation@Nonnull
public java.util.Iterator<java.lang.String> getParameterNames(@Nullable
DexReader dexReader)