public interface ImplicitReferenceProvider
Modifier and Type | Field and Description |
---|---|
static ExtensionPointName<ImplicitReferenceProvider> |
EP_NAME |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<? extends SymbolResolveResult> |
resolveAsReference(PsiElement element)
Implement this method to support
Symbol -based actions. |
static final ExtensionPointName<ImplicitReferenceProvider> EP_NAME
java.util.Collection<? extends SymbolResolveResult> resolveAsReference(PsiElement element)
Symbol
-based actions.
If this method returns non-empty collection then the element is treated as a reference,
enabling various actions accessible on a referenced Symbol,
for example, navigation and link highlighting on hover.
Such "reference" won't be found (or renamed, etc).
This method is called for each element in the PSI tree
starting from the leaf element at the caret offset up to the file.