Class HybridClassLoaderFactory
java.lang.Object
com.ibm.wala.classLoader.ClassLoaderFactoryImpl
com.ibm.wala.cast.js.examples.hybrid.HybridClassLoaderFactory
- All Implemented Interfaces:
ClassLoaderFactory
-
Constructor Summary
ConstructorDescriptionHybridClassLoaderFactory
(JavaScriptTranslatorFactory jsTranslatorFactory, SetOfClasses exclusions) -
Method Summary
Modifier and TypeMethodDescriptionprotected IClassLoader
makeNewClassLoader
(ClassLoaderReference classLoaderReference, IClassHierarchy cha, IClassLoader parent, AnalysisScope scope) Create a new class loader for a given keyMethods inherited from class com.ibm.wala.classLoader.ClassLoaderFactoryImpl
getExclusions, getLoader
-
Constructor Details
-
HybridClassLoaderFactory
public HybridClassLoaderFactory(JavaScriptTranslatorFactory jsTranslatorFactory, SetOfClasses exclusions) -
HybridClassLoaderFactory
public HybridClassLoaderFactory()
-
-
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.
-