public interface PsiSymbolReferenceHints
Modifier and Type | Method and Description |
---|---|
default java.lang.Integer |
getOffsetInElement()
Provider may return references which contain specified offset if the offset is greater than or equal to 0;
in this case the offset is guaranteed to be within
[0, element.getTextLength()) . |
default Symbol |
getTarget()
Provider may return only references which could be resolved to specified symbol if the symbol is not
null . |
default java.lang.Class<? extends Symbol> |
getTargetClass()
Provider may return only references which could be resolved to symbols of this type if the type is not
null . |
static PsiSymbolReferenceHints |
offsetHint(int offsetInElement) |
default java.lang.Class<? extends Symbol> getTargetClass()
null
.default Symbol getTarget()
null
.default java.lang.Integer getOffsetInElement()
[0, element.getTextLength())
.null
if the offset doesn't matterstatic PsiSymbolReferenceHints offsetHint(int offsetInElement)