public abstract class PsiReferenceProvider
extends java.lang.Object
PsiReferenceContributor
or PsiReferenceProviderBean.EP_NAME
Note that, if you're implementing a custom language, it won't by default support references registered through PsiReferenceContributor.
If you want to support that, you need to call
ReferenceProvidersRegistry.getReferencesFromProviders(PsiElement)
from your implementation
of PsiElement.getReferences().Constructor and Description |
---|
PsiReferenceProvider() |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptsHints(PsiElement element,
PsiReferenceService.Hints hints) |
boolean |
acceptsTarget(PsiElement target) |
abstract PsiReference [] |
getReferencesByElement(PsiElement element,
ProcessingContext context) |
public abstract PsiReference [] getReferencesByElement(PsiElement element, ProcessingContext context)
public boolean acceptsHints(PsiElement element, PsiReferenceService.Hints hints)
public boolean acceptsTarget(PsiElement target)