Package org.jf.dexlib2.dexbacked
Class CDexBackedMethodImplementation
- java.lang.Object
-
- org.jf.dexlib2.dexbacked.DexBackedMethodImplementation
-
- org.jf.dexlib2.dexbacked.CDexBackedMethodImplementation
-
- All Implemented Interfaces:
MethodImplementation
public class CDexBackedMethodImplementation extends DexBackedMethodImplementation
-
-
Field Summary
-
Fields inherited from class org.jf.dexlib2.dexbacked.DexBackedMethodImplementation
codeOffset, dexFile, method
-
-
Constructor Summary
Constructors Constructor Description CDexBackedMethodImplementation(DexBackedDexFile dexFile, DexBackedMethod method, int codeOffset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
getDebugOffset()
int
getInsCount()
protected int
getInstructionsSize()
protected int
getInstructionsStartOffset()
int
getRegisterCount()
Gets the number of registers in this method.protected int
getTriesSize()
-
Methods inherited from class org.jf.dexlib2.dexbacked.DexBackedMethodImplementation
getDebugItems, getInstructions, getParameterNames, getSize, getTryBlocks
-
-
-
-
Constructor Detail
-
CDexBackedMethodImplementation
public CDexBackedMethodImplementation(@Nonnull DexBackedDexFile dexFile, @Nonnull DexBackedMethod method, int codeOffset)
-
-
Method Detail
-
getInsCount
public int getInsCount()
-
getRegisterCount
public int getRegisterCount()
Description copied from interface:MethodImplementation
Gets the number of registers in this method.- Specified by:
getRegisterCount
in interfaceMethodImplementation
- Overrides:
getRegisterCount
in classDexBackedMethodImplementation
- Returns:
- The number of register in this method.
-
getInstructionsSize
protected int getInstructionsSize()
- Overrides:
getInstructionsSize
in classDexBackedMethodImplementation
-
getInstructionsStartOffset
protected int getInstructionsStartOffset()
- Overrides:
getInstructionsStartOffset
in classDexBackedMethodImplementation
-
getTriesSize
protected int getTriesSize()
- Overrides:
getTriesSize
in classDexBackedMethodImplementation
-
getDebugOffset
protected int getDebugOffset()
- Overrides:
getDebugOffset
in classDexBackedMethodImplementation
-
-