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 intgetDebugOffset()intgetInsCount()protected intgetInstructionsSize()protected intgetInstructionsStartOffset()intgetRegisterCount()Gets the number of registers in this method.protected intgetTriesSize()-
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:MethodImplementationGets the number of registers in this method.- Specified by:
getRegisterCountin interfaceMethodImplementation- Overrides:
getRegisterCountin classDexBackedMethodImplementation- Returns:
- The number of register in this method.
-
getInstructionsSize
protected int getInstructionsSize()
- Overrides:
getInstructionsSizein classDexBackedMethodImplementation
-
getInstructionsStartOffset
protected int getInstructionsStartOffset()
- Overrides:
getInstructionsStartOffsetin classDexBackedMethodImplementation
-
getTriesSize
protected int getTriesSize()
- Overrides:
getTriesSizein classDexBackedMethodImplementation
-
getDebugOffset
protected int getDebugOffset()
- Overrides:
getDebugOffsetin classDexBackedMethodImplementation
-
-