public class CandidateInfo extends java.lang.Object implements JavaResolveResult
| Modifier and Type | Field and Description |
|---|---|
static CandidateInfo[] |
EMPTY_ARRAY |
protected PsiSubstitutor |
mySubstitutor |
static JavaResolveResult[] |
RESOLVE_RESULT_FOR_PACKAGE_PREFIX_PACKAGE |
EMPTY| Constructor and Description |
|---|
CandidateInfo(CandidateInfo ci,
PsiSubstitutor newSubstitutor) |
CandidateInfo(PsiElement candidate,
PsiSubstitutor substitutor) |
CandidateInfo(PsiElement candidate,
PsiSubstitutor substitutor,
boolean accessProblem,
boolean staticsProblem) |
CandidateInfo(PsiElement candidate,
PsiSubstitutor substitutor,
boolean accessProblem,
boolean staticsProblem,
PsiElement currFileContext) |
CandidateInfo(PsiElement candidate,
PsiSubstitutor substitutor,
PsiElement place,
boolean staticsProblem) |
CandidateInfo(PsiElement candidate,
PsiSubstitutor substitutor,
PsiElement place,
PsiClass accessClass,
boolean staticsProblem,
PsiElement currFileContext) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
PsiElement |
getCurrentFileResolveScope() |
PsiElement |
getElement()
Returns the result of the resolve.
|
PsiSubstitutor |
getSubstitutor()
Substitutor providing values of type parameters occurring in
ResolveResult.getElement(). |
int |
hashCode() |
boolean |
isAccessible() |
boolean |
isPackagePrefixPackageReference() |
boolean |
isStaticsScopeCorrect() |
boolean |
isValidResult()
Checks if the reference was resolved to a valid element.
|
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetTargetfromSymbolpublic static final CandidateInfo[] EMPTY_ARRAY
public static final JavaResolveResult[] RESOLVE_RESULT_FOR_PACKAGE_PREFIX_PACKAGE
protected final PsiSubstitutor mySubstitutor
public CandidateInfo(PsiElement candidate, PsiSubstitutor substitutor, boolean accessProblem, boolean staticsProblem, PsiElement currFileContext)
public CandidateInfo(PsiElement candidate, PsiSubstitutor substitutor, boolean accessProblem, boolean staticsProblem)
public CandidateInfo(PsiElement candidate, PsiSubstitutor substitutor, PsiElement place, PsiClass accessClass, boolean staticsProblem, PsiElement currFileContext)
public CandidateInfo(PsiElement candidate, PsiSubstitutor substitutor, PsiElement place, boolean staticsProblem)
public CandidateInfo(PsiElement candidate, PsiSubstitutor substitutor)
public CandidateInfo(CandidateInfo ci, PsiSubstitutor newSubstitutor)
public boolean isValidResult()
ResolveResultisValidResult in interface ResolveResultpublic boolean isPackagePrefixPackageReference()
isPackagePrefixPackageReference in interface JavaResolveResultpublic PsiElement getElement()
ResolveResultgetElement in interface ResolveResultpublic PsiSubstitutor getSubstitutor()
JavaResolveResultResolveResult.getElement().getSubstitutor in interface JavaResolveResultpublic boolean isAccessible()
isAccessible in interface JavaResolveResultResolveResult.getElement() is accessible from reference.public boolean isStaticsScopeCorrect()
isStaticsScopeCorrect in interface JavaResolveResultpublic PsiElement getCurrentFileResolveScope()
getCurrentFileResolveScope in interface JavaResolveResultnull for qualified and local references.public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object