Class WDexClassLoaderImpl
java.lang.Object
com.ibm.wala.classLoader.ClassLoaderImpl
com.ibm.wala.dalvik.classLoader.WDexClassLoaderImpl
- All Implemented Interfaces:
IClassLoader
ClassLoader for Java & Dalvik.
-
Field Summary
Fields inherited from class ClassLoaderImpl
cha, DEBUG_LEVEL, loadedClassesModifier and TypeFieldDescriptionprotected final IClassHierarchyGoverning class hierarchystatic final intA mapping from class name (TypeName) to IClass -
Constructor Summary
ConstructorsConstructorDescriptionWDexClassLoaderImpl(ClassLoaderReference loader, IClassLoader parent, StringFilter exclusions, IClassHierarchy cha) -
Method Summary
Modifier and TypeMethodDescriptionvoidInitialize internal data structuresMethods inherited from class ClassLoaderImpl
getInstructionFactory, getLanguage, getName, getNumberOfClasses, getNumberOfMethods, getParent, getReference, getSource, getSource, getSourceFileName, getSourceFileName, iterateAllClasses, loadAllSources, lookupClass, removeAll, toStringModifier and TypeMethodDescriptiongetName()intintMethod getParent.Return the ClassLoaderReference for this class loader.getSourceFileName(IClass klass) getSourceFileName(IMethod method, int offset) protected voidloadAllSources(Set<ModuleEntry> sourceModules) Set up mapping from type name to Module EntrylookupClass(TypeName className) Find and return the IClass defined by this class loader that corresponds to the given class name.voidremoveAll(Collection<IClass> toRemove) blow away references to any classes in the settoString()
-
Constructor Details
-
WDexClassLoaderImpl
public WDexClassLoaderImpl(ClassLoaderReference loader, IClassLoader parent, StringFilter exclusions, IClassHierarchy cha)
-
-
Method Details
-
init
Description copied from class:ClassLoaderImplInitialize internal data structures- Specified by:
initin interfaceIClassLoader- Overrides:
initin classClassLoaderImpl- Throws:
IOException
-
getClassHierarchy
- Returns:
- the IClassHierarchy of this classLoader.
-