public interface CompilerReferenceService extends ProjectComponent
LanguageCompilerRefAdapter
extension. Any result provided by this service should be valid even if some part of a given project was
modified after compilation.Modifier and Type | Field and Description |
---|---|
static RegistryValue |
IS_ENABLED_KEY |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getCompileTimeOccurrenceCount(PsiElement element,
boolean isConstructorCompletion) |
CompilerDirectHierarchyInfo |
getDirectInheritors(PsiNamedElement aClass,
GlobalSearchScope searchScope,
FileType searchFileType) |
CompilerDirectHierarchyInfo |
getFunExpressions(PsiNamedElement functionalInterface,
GlobalSearchScope searchScope,
FileType searchFileType) |
static CompilerReferenceService |
getInstance(Project project) |
GlobalSearchScope |
getScopeWithoutCodeReferences(PsiElement element) |
GlobalSearchScope |
getScopeWithoutImplicitToStringCodeReferences(PsiElement aClass) |
boolean |
isActive() |
static boolean |
isEnabled() |
projectClosed, projectOpened
disposeComponent, initComponent
getComponentName
static final RegistryValue IS_ENABLED_KEY
static CompilerReferenceService getInstance(Project project)
GlobalSearchScope getScopeWithoutCodeReferences(PsiElement element)
GlobalSearchScope getScopeWithoutImplicitToStringCodeReferences(PsiElement aClass)
CompilerDirectHierarchyInfo getDirectInheritors(PsiNamedElement aClass, GlobalSearchScope searchScope, FileType searchFileType)
CompilerDirectHierarchyInfo getFunExpressions(PsiNamedElement functionalInterface, GlobalSearchScope searchScope, FileType searchFileType)
java.lang.Integer getCompileTimeOccurrenceCount(PsiElement element, boolean isConstructorCompletion)
boolean isActive()
static boolean isEnabled()