public class IdeaOpenApiClassFinder extends NonClasspathClassFinder
myProjectEP, EP_NAME| Constructor and Description |
|---|
IdeaOpenApiClassFinder(Project project) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<VirtualFile> |
calcClassRoots() |
PsiClass |
findClass(java.lang.String qualifiedName,
GlobalSearchScope scope)
Searches the specified scope within the project for a class with the specified full-qualified
name and returns one if it is found.
|
protected PackageDirectoryCache |
getCache(GlobalSearchScope scope) |
PsiPackage [] |
getSubPackages(PsiPackage psiPackage,
GlobalSearchScope scope)
Returns the list of subpackages of the specified package in the specified search scope.
|
addNonClasspathScope, clearCache, createCache, findClasses, findPackage, getClasses, getClassNames, getClassRoots, getClassRoots, getPsiManager, processPackageDirectoriesfilterByName, getClasses, getClassesFilter, getClassNames, getPackageFiles, getPackageFilesFilter, processPackageDirectoriespublic IdeaOpenApiClassFinder(Project project)
protected PackageDirectoryCache getCache(GlobalSearchScope scope)
getCache in class NonClasspathClassFinderprotected java.util.List<VirtualFile> calcClassRoots()
calcClassRoots in class NonClasspathClassFinderpublic PsiClass findClass(java.lang.String qualifiedName, GlobalSearchScope scope)
PsiElementFinderfindClass in class NonClasspathClassFinderqualifiedName - the full-qualified name of the class to find.scope - the scope to search.JavaPsiFacade.findClass(String, GlobalSearchScope)public PsiPackage [] getSubPackages(PsiPackage psiPackage, GlobalSearchScope scope)
PsiElementFindergetSubPackages in class NonClasspathClassFinderpsiPackage - the package to return the list of subpackages for.scope - the scope in which subpackages are searched.PsiPackage.getSubPackages(GlobalSearchScope)