public class CAstAnalysisScope extends AnalysisScope
APPLICATION, EXTENSION, loadersByName, PRIMORDIAL, SYNTHETIC| Constructor and Description |
|---|
CAstAnalysisScope(SingleClassLoaderFactory loaders,
Collection<Language> languages) |
CAstAnalysisScope(SourceModule[] sources,
SingleClassLoaderFactory loaders,
Collection<Language> languages) |
CAstAnalysisScope(String[] sourceFileNames,
SingleClassLoaderFactory loaders,
Collection<Language> languages) |
| Modifier and Type | Method and Description |
|---|---|
void |
addClassFileToScope(ClassLoaderReference loader,
File file)
Add a class file to the scope for a loader
|
ClassLoaderReference |
getApplicationLoader()
Return the information regarding the application loader.
|
ArrayClassLoader |
getArrayClassLoader() |
ClassLoaderReference |
getExtensionLoader()
Return the information regarding the extension loader.
|
ClassLoaderReference |
getLoader(Atom name) |
Collection<ClassLoaderReference> |
getLoaders() |
int |
getNumberOfLoaders() |
ClassLoaderReference |
getPrimordialLoader()
Return the information regarding the primordial loader.
|
ClassLoaderReference |
getSyntheticLoader()
Return the information regarding the application loader.
|
String |
toString() |
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, setLoaderImpl, toShallowAnalysisScopepublic CAstAnalysisScope(SingleClassLoaderFactory loaders, Collection<Language> languages)
public CAstAnalysisScope(String[] sourceFileNames, SingleClassLoaderFactory loaders, Collection<Language> languages) throws IOException
IOExceptionpublic CAstAnalysisScope(SourceModule[] sources, SingleClassLoaderFactory loaders, Collection<Language> languages) throws IOException
IOExceptionpublic ClassLoaderReference getPrimordialLoader()
getPrimordialLoader in class AnalysisScopepublic ClassLoaderReference getExtensionLoader()
getExtensionLoader in class AnalysisScopepublic ClassLoaderReference getApplicationLoader()
getApplicationLoader in class AnalysisScopepublic ArrayClassLoader getArrayClassLoader()
getArrayClassLoader in class AnalysisScopepublic ClassLoaderReference getSyntheticLoader()
getSyntheticLoader in class AnalysisScopepublic void addClassFileToScope(ClassLoaderReference loader, File file)
addClassFileToScope in class AnalysisScopeloader - file - public ClassLoaderReference getLoader(Atom name)
getLoader in class AnalysisScopename.public Collection<ClassLoaderReference> getLoaders()
getLoaders in class AnalysisScopepublic int getNumberOfLoaders()
getNumberOfLoaders in class AnalysisScopepublic String toString()
toString in class AnalysisScope