Class CAstAnalysisScope
java.lang.Object
com.ibm.wala.ipa.callgraph.AnalysisScope
com.ibm.wala.cast.ipa.callgraph.CAstAnalysisScope
-
Field Summary
Fields inherited from class AnalysisScope
APPLICATION, EXTENSION, loadersByName, PRIMORDIAL, SYNTHETIC -
Constructor Summary
ConstructorsConstructorDescriptionCAstAnalysisScope(SingleClassLoaderFactory loaders, Collection<Language> languages) CAstAnalysisScope(Module[] sources, SingleClassLoaderFactory loaders, Collection<Language> languages) CAstAnalysisScope(String[] sourceFileNames, SingleClassLoaderFactory loaders, Collection<Language> languages) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddClassFileToScope(ClassLoaderReference loader, File file) Add a class file to the scope for a loaderReturn the information regarding the application loader.Return the information regarding the extension loader.intReturn the information regarding the primordial loader.Return the information regarding the application loader.toString()Methods inherited from class AnalysisScope
addInputStreamForJarToScope, addJDKModuleToScope, addSourceFileToScope, addToScope, addToScope, addToScope, addToScopeHead, classLoaderName2Ref, createJavaAnalysisScope, findMethod, getBaseLanguages, getExclusions, getExclusionString, getJavaLibraryVersion, getLanguage, getLanguages, getLoaderImpl, getModules, initCoreForJava, initForJava, initSynthetic, isApplicationLoader, isJava14Libraries, isJava15Libraries, isJava16Libraries, isJava17Libraries, isJava18Libraries, setExclusions, setExclusions, setLoaderImpl, toJson, toShallowAnalysisScope
-
Constructor Details
-
CAstAnalysisScope
-
CAstAnalysisScope
public CAstAnalysisScope(String[] sourceFileNames, SingleClassLoaderFactory loaders, Collection<Language> languages) -
CAstAnalysisScope
public CAstAnalysisScope(Module[] sources, SingleClassLoaderFactory loaders, Collection<Language> languages)
-
-
Method Details
-
getPrimordialLoader
Return the information regarding the primordial loader.- Overrides:
getPrimordialLoaderin classAnalysisScope- Returns:
- ClassLoaderReference
-
getExtensionLoader
Return the information regarding the extension loader.- Overrides:
getExtensionLoaderin classAnalysisScope- Returns:
- ClassLoaderReference
-
getApplicationLoader
Return the information regarding the application loader.- Overrides:
getApplicationLoaderin classAnalysisScope- Returns:
- ClassLoaderReference
-
getArrayClassLoader
- Overrides:
getArrayClassLoaderin classAnalysisScope- Returns:
- Returns the arrayClassLoader.
-
getSyntheticLoader
Return the information regarding the application loader.- Overrides:
getSyntheticLoaderin classAnalysisScope- Returns:
- ClassLoaderReference
-
addClassFileToScope
Add a class file to the scope for a loader- Overrides:
addClassFileToScopein classAnalysisScope
-
getLoader
- Overrides:
getLoaderin classAnalysisScope- Returns:
- the ClassLoaderReference specified by
name.
-
getLoaders
- Overrides:
getLoadersin classAnalysisScope
-
getNumberOfLoaders
public int getNumberOfLoaders()- Overrides:
getNumberOfLoadersin classAnalysisScope- Returns:
- the number of loaders.
-
toString
- Overrides:
toStringin classAnalysisScope
-