public class DexBackedMethodImplementation extends java.lang.Object implements MethodImplementation
| Modifier and Type | Field and Description |
|---|---|
protected int |
codeOffset |
DexBackedDexFile |
dexFile |
DexBackedMethod |
method |
| Modifier | Constructor and Description |
|---|---|
protected |
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.
|
protected int |
getDebugOffset() |
java.lang.Iterable<? extends Instruction> |
getInstructions()
Gets the instructions in this method.
|
protected int |
getInstructionsSize() |
protected int |
getInstructionsStartOffset() |
java.util.Iterator<java.lang.String> |
getParameterNames(DexReader dexReader) |
int |
getRegisterCount()
Gets the number of registers in this method.
|
int |
getSize()
Calculate and return the private size of a method implementation.
|
protected int |
getTriesSize() |
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
protected final int codeOffset
protected DexBackedMethodImplementation(@Nonnull
DexBackedDexFile dexFile,
@Nonnull
DexBackedMethod method,
int codeOffset)
public int getRegisterCount()
MethodImplementationgetRegisterCount in interface MethodImplementationprotected int getInstructionsSize()
protected int getInstructionsStartOffset()
@Nonnull public java.lang.Iterable<? extends Instruction> getInstructions()
MethodImplementationgetInstructions in interface MethodImplementationprotected int getTriesSize()
@Nonnull public java.util.List<? extends DexBackedTryBlock> getTryBlocks()
MethodImplementationgetTryBlocks in interface MethodImplementationprotected int getDebugOffset()
@Nonnull public java.lang.Iterable<? extends DebugItem> getDebugItems()
MethodImplementationgetDebugItems in interface MethodImplementation@Nonnull
public java.util.Iterator<java.lang.String> getParameterNames(@Nullable
DexReader dexReader)
public int getSize()