Package org.jf.dexlib2.dexbacked
Class CDexBackedMethodImplementation
java.lang.Object
org.jf.dexlib2.dexbacked.DexBackedMethodImplementation
org.jf.dexlib2.dexbacked.CDexBackedMethodImplementation
- All Implemented Interfaces:
MethodImplementation
-
Field Summary
Fields inherited from class org.jf.dexlib2.dexbacked.DexBackedMethodImplementation
codeOffset, dexFile, method -
Constructor Summary
ConstructorsConstructorDescriptionCDexBackedMethodImplementation(DexBackedDexFile dexFile, DexBackedMethod method, int codeOffset) -
Method Summary
Modifier and TypeMethodDescriptionprotected intintprotected intprotected intprivate intintGets the number of registers in this method.protected intMethods inherited from class org.jf.dexlib2.dexbacked.DexBackedMethodImplementation
getDebugItems, getInstructions, getParameterNames, getSize, getTryBlocks
-
Constructor Details
-
CDexBackedMethodImplementation
public CDexBackedMethodImplementation(@Nonnull DexBackedDexFile dexFile, @Nonnull DexBackedMethod method, int codeOffset)
-
-
Method Details
-
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
-
getPreheaderFlags
private int getPreheaderFlags() -
getTriesSize
protected int getTriesSize()- Overrides:
getTriesSizein classDexBackedMethodImplementation
-
getDebugOffset
protected int getDebugOffset()- Overrides:
getDebugOffsetin classDexBackedMethodImplementation
-