public class DexClassLoader
extends java.lang.Object
| Constructor and Description |
|---|
DexClassLoader() |
| Modifier and Type | Method and Description |
|---|---|
protected DexMethod |
createDexMethodFactory(DexFile dexFile,
SootClass sc)
Allow custom implementations to use different dex method factories
|
protected void |
loadField(SootClass declaringClass,
DexAnnotation annotations,
Field sf)
Loads a single field from a dex file
|
protected void |
loadMethod(Method method,
SootClass declaringClass,
DexAnnotation annotations,
DexMethod dexMethodFactory)
Loads a single method from a dex file
|
IInitialResolver.Dependencies |
makeSootClass(SootClass sc,
ClassDef defItem,
DexFile dexFile) |
protected void loadMethod(Method method,
SootClass declaringClass,
DexAnnotation annotations,
DexMethod dexMethodFactory)
method - The method to loaddeclaringClass - The class that declares the method to loadannotations - The worker object for handling annotationsdexMethodFactory - The factory method for creating dex methodspublic IInitialResolver.Dependencies makeSootClass(SootClass sc, ClassDef defItem, DexFile dexFile)
protected DexMethod createDexMethodFactory(DexFile dexFile, SootClass sc)
dexFile - sc - protected void loadField(SootClass declaringClass, DexAnnotation annotations, Field sf)
declaringClass - The class that declares the method to loadannotations - The worker object for handling annotationsfield - The field to load