public class CoreJavaFileManager extends java.lang.Object implements JavaFileManager
Constructor and Description |
---|
CoreJavaFileManager(PsiManager psiManager) |
Modifier and Type | Method and Description |
---|---|
void |
addToClasspath(VirtualFile root) |
PsiClass |
findClass(java.lang.String qName,
GlobalSearchScope scope) |
PsiClass [] |
findClasses(java.lang.String qName,
GlobalSearchScope scope) |
static PsiClass |
findClassInClasspathRoot(java.lang.String qName,
VirtualFile root,
PsiManager psiManager,
GlobalSearchScope scope) |
java.util.Collection<PsiJavaModule> |
findModules(java.lang.String moduleName,
GlobalSearchScope scope) |
PsiPackage |
findPackage(java.lang.String packageName) |
java.util.Collection<java.lang.String> |
getNonTrivialPackagePrefixes() |
PsiPackage |
getPackage(PsiDirectory dir) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInstance
public CoreJavaFileManager(PsiManager psiManager)
public PsiPackage findPackage(java.lang.String packageName)
findPackage
in interface JavaFileManager
public PsiPackage getPackage(PsiDirectory dir)
public PsiClass findClass(java.lang.String qName, GlobalSearchScope scope)
findClass
in interface JavaFileManager
public static PsiClass findClassInClasspathRoot(java.lang.String qName, VirtualFile root, PsiManager psiManager, GlobalSearchScope scope)
public PsiClass [] findClasses(java.lang.String qName, GlobalSearchScope scope)
findClasses
in interface JavaFileManager
public java.util.Collection<java.lang.String> getNonTrivialPackagePrefixes()
getNonTrivialPackagePrefixes
in interface JavaFileManager
public java.util.Collection<PsiJavaModule> findModules(java.lang.String moduleName, GlobalSearchScope scope)
findModules
in interface JavaFileManager
public void addToClasspath(VirtualFile root)