Class JDTClassLoaderFactory
java.lang.Object
com.ibm.wala.classLoader.ClassLoaderFactoryImpl
com.ibm.wala.cast.java.translator.jdt.JDTClassLoaderFactory
- All Implemented Interfaces:
ClassLoaderFactory
-
Field Summary
-
Constructor Summary
ConstructorDescriptionJDTClassLoaderFactory
(SetOfClasses exclusions) JDTClassLoaderFactory
(SetOfClasses exclusions, boolean dump) -
Method Summary
Modifier and TypeMethodDescriptionprotected IClassLoader
makeNewClassLoader
(ClassLoaderReference classLoaderReference, IClassHierarchy cha, IClassLoader parent, AnalysisScope scope) Create a new class loader for a given keyprotected JavaSourceLoaderImpl
makeSourceLoader
(ClassLoaderReference classLoaderReference, IClassHierarchy cha, IClassLoader parent) Methods inherited from class com.ibm.wala.classLoader.ClassLoaderFactoryImpl
getExclusions, getLoader
-
Field Details
-
dump
protected boolean dump
-
-
Constructor Details
-
JDTClassLoaderFactory
-
JDTClassLoaderFactory
-
-
Method Details
-
makeNewClassLoader
protected IClassLoader makeNewClassLoader(ClassLoaderReference classLoaderReference, IClassHierarchy cha, IClassLoader parent, AnalysisScope scope) throws IOException Description copied from class:ClassLoaderFactoryImpl
Create a new class loader for a given key- Overrides:
makeNewClassLoader
in classClassLoaderFactoryImpl
- Parameters:
classLoaderReference
- the keyparent
- parent classloader to be used for delegation- Returns:
- a new ClassLoaderImpl
- Throws:
IOException
- if the desired loader cannot be instantiated, usually because the specified module can't be found.
-
makeSourceLoader
protected JavaSourceLoaderImpl makeSourceLoader(ClassLoaderReference classLoaderReference, IClassHierarchy cha, IClassLoader parent)
-