public interface PsiSymbolReference extends SymbolReference
PsiElement
to a Symbol
or possibly several Symbols.Modifier and Type | Method and Description |
---|---|
default TextRange |
getAbsoluteRange() |
PsiElement |
getElement() |
TextRange |
getRangeInElement() |
resolveReference, resolvesTo
PsiElement getElement()
TextRange getRangeInElement()
element
which is considered a reference,
e.g. range of `bar` in `foo.bar` qualified reference expressiondefault TextRange getAbsoluteRange()
containing file
of the element
which is considered a referencegetRangeInElement()