|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PsiJavaReference
Represents a reference found in Java code.
| Field Summary |
|---|
| Fields inherited from interface com.intellij.psi.PsiReference |
|---|
EMPTY_ARRAY |
| Method Summary | |
|---|---|
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. |
| Methods inherited from interface com.intellij.psi.PsiReference |
|---|
bindToElement, getCanonicalText, getElement, getRangeInElement, getVariants, handleElementRename, isReferenceTo, isSoft, resolve |
| Method Detail |
|---|
void processVariants(PsiScopeProcessor processor)
processor - the processor accepting the variants.s@NotNull JavaResolveResult 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.
@NotNull JavaResolveResult[] multiResolve(boolean incompleteCode)
PsiPolyVariantReference
multiResolve in interface PsiPolyVariantReferenceincompleteCode - 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||