public class JavaMethodsConflictResolver extends java.lang.Object implements PsiConflictResolver
Modifier and Type | Field and Description |
---|---|
protected LanguageLevel |
myLanguageLevel |
Constructor and Description |
---|
JavaMethodsConflictResolver(PsiElement argumentsList,
PsiType[] actualParameterTypes,
LanguageLevel languageLevel,
PsiFile containingFile) |
Modifier and Type | Method and Description |
---|---|
protected static void |
checkAccessStaticLevels(java.util.List<? extends CandidateInfo> conflicts,
boolean checkAccessible) |
int |
checkApplicability(java.util.List<CandidateInfo> conflicts) |
protected void |
checkSameSignatures(java.util.List<? extends CandidateInfo> conflicts) |
protected void |
checkSpecifics(java.util.List<CandidateInfo> conflicts,
int applicabilityLevel) |
protected void |
checkSpecifics(java.util.List<CandidateInfo> conflicts,
int applicabilityLevel,
java.util.Map<MethodCandidateInfo,PsiSubstitutor> map,
int offset) |
protected int |
getPertinentApplicabilityLevel(MethodCandidateInfo conflict) |
protected CandidateInfo |
guardedOverloadResolution(java.util.List<CandidateInfo> conflicts) |
protected boolean |
nonComparable(CandidateInfo method,
CandidateInfo conflict,
boolean fixedArity) |
CandidateInfo |
resolveConflict(java.util.List<CandidateInfo> conflicts) |
protected LanguageLevel myLanguageLevel
public JavaMethodsConflictResolver(PsiElement argumentsList, PsiType[] actualParameterTypes, LanguageLevel languageLevel, PsiFile containingFile)
public final CandidateInfo resolveConflict(java.util.List<CandidateInfo> conflicts)
resolveConflict
in interface PsiConflictResolver
protected CandidateInfo guardedOverloadResolution(java.util.List<CandidateInfo> conflicts)
protected void checkSpecifics(java.util.List<CandidateInfo> conflicts, int applicabilityLevel)
protected void checkSpecifics(java.util.List<CandidateInfo> conflicts, int applicabilityLevel, java.util.Map<MethodCandidateInfo,PsiSubstitutor> map, int offset)
protected boolean nonComparable(CandidateInfo method, CandidateInfo conflict, boolean fixedArity)
protected static void checkAccessStaticLevels(java.util.List<? extends CandidateInfo> conflicts, boolean checkAccessible)
protected void checkSameSignatures(java.util.List<? extends CandidateInfo> conflicts)
public int checkApplicability(java.util.List<CandidateInfo> conflicts)
protected int getPertinentApplicabilityLevel(MethodCandidateInfo conflict)