public interface SymbolReference
Symbol
or possibly several Symbols.
SymbolReference may be backed by a PsiElement
but is not required to.
Examples:
com.intellij.model
,
PsiSymbolReference
Modifier and Type | Method and Description |
---|---|
java.util.Collection<? extends SymbolResolveResult> |
resolveReference() |
default boolean |
resolvesTo(Symbol target)
Default implementation checks results from
resolveReference() . |
java.util.Collection<? extends SymbolResolveResult> resolveReference()
default boolean resolvesTo(Symbol target)
resolveReference()
.
Override this method to skip actual resolution if this reference cannot ever resolve to this target.