public interface RefManagerExtension<T>
Modifier and Type | Method and Description |
---|---|
boolean |
belongsToScope(PsiElement psiElement) |
void |
cleanup() |
RefElement |
createRefElement(PsiElement psiElement) |
void |
export(RefEntity refEntity,
Element element) |
default java.util.stream.Stream<? extends PsiElement> |
extractExternalFileImplicitReferences(PsiFile psiFile) |
default PsiNamedElement |
getElementContainer(PsiElement psiElement)
The method finds problem container (ex: method, class, file) that used to be shown as inspection view tree node.
|
java.lang.String |
getGroupName(RefEntity entity) |
Key<T> |
getID() |
Language |
getLanguage()
Deprecated.
|
default java.util.Collection<Language> |
getLanguages() |
RefEntity |
getReference(java.lang.String type,
java.lang.String fqName) |
RefEntity |
getRefinedElement(RefEntity ref) |
java.lang.String |
getType(RefEntity entity) |
void |
iterate(RefVisitor visitor) |
default void |
markExternalReferencesProcessed(RefElement file) |
void |
onEntityInitialized(RefElement refEntity,
PsiElement psiElement) |
void |
removeReference(RefElement refElement) |
default boolean |
shouldProcessExternalFile(PsiFile file) |
void |
visitElement(PsiElement element) |
default java.util.Collection<Language> getLanguages()
@Deprecated Language getLanguage()
void iterate(RefVisitor visitor)
void cleanup()
void removeReference(RefElement refElement)
RefElement createRefElement(PsiElement psiElement)
default PsiNamedElement getElementContainer(PsiElement psiElement)
LocalInspectionTool.getProblemElement(PsiElement)
returns null or PsiFile instance for specific inspection tool.psiElement
- RefEntity getReference(java.lang.String type, java.lang.String fqName)
java.lang.String getType(RefEntity entity)
void visitElement(PsiElement element)
java.lang.String getGroupName(RefEntity entity)
boolean belongsToScope(PsiElement psiElement)
void export(RefEntity refEntity, Element element)
void onEntityInitialized(RefElement refEntity, PsiElement psiElement)
default boolean shouldProcessExternalFile(PsiFile file)
default java.util.stream.Stream<? extends PsiElement> extractExternalFileImplicitReferences(PsiFile psiFile)
default void markExternalReferencesProcessed(RefElement file)