public class PsiReferenceServiceImpl extends PsiReferenceService
PsiReferenceService.Hints| Constructor and Description |
|---|
PsiReferenceServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<PsiReference> |
getReferences(PsiElement element,
PsiReferenceService.Hints hints)
By default, return the same as
PsiElement.getReferences(). |
getContributedReferences, getServicepublic java.util.List<PsiReference> getReferences(PsiElement element, PsiReferenceService.Hints hints)
PsiReferenceServicePsiElement.getReferences().
For elements implementing ContributedReferenceHost also run
the reference providers registered in PsiReferenceContributor
extensions.getReferences in class PsiReferenceServiceelement - PSI element to which the references will be boundhints - optional hints which are passed to PsiReferenceProvider.acceptsHints(PsiElement, com.intellij.psi.PsiReferenceService.Hints) and
PsiReferenceProvider.acceptsTarget(PsiElement) before the ElementPattern is matched, for performing
fail-fast checks in case the pattern takes long to match.