public interface PsiJavaReference extends PsiPolyVariantReference
ARRAY_FACTORY, EMPTY_ARRAY
Modifier and Type | Method and Description |
---|---|
JavaResolveResult |
advancedResolve(boolean incompleteCode)
Resolves the reference and returns the result as a
JavaResolveResult
instead of a plain PsiElement . |
JavaResolveResult [] |
multiResolve(boolean incompleteCode)
Returns the results of resolving the reference.
|
void |
processVariants(PsiScopeProcessor processor)
Passes all variants to which the reference may resolve to the specified
processor.
|
resolveReference
bindToElement, getCanonicalText, getElement, getRangeInElement, getVariants, handleElementRename, isReferenceTo, isSoft, resolve, resolvesTo
getAbsoluteRange
void processVariants(PsiScopeProcessor processor)
processor
- the processor accepting the variantsJavaResolveResult advancedResolve(boolean incompleteCode)
JavaResolveResult
instead of a plain PsiElement
.incompleteCode
- if true, the code in the context of which the reference is
being resolved is considered incomplete, and the method may return an invalid
result.JavaResolveResult [] multiResolve(boolean incompleteCode)
PsiPolyVariantReference
multiResolve
in interface PsiPolyVariantReference
incompleteCode
- if true, the code in the context of which the reference is
being resolved is considered incomplete, and the method may return additional
invalid results.