void (@NotNull List<CandidateInfo> conflicts) { if (!(myArgumentsList instanceof PsiExpressionList)) return; for (Iterator<CandidateInfo> iterator = conflicts.iterator(); iterator.hasNext(); ) { CandidateInfo conflict = iterator.next(); if (!(conflict instanceof MethodCandidateInfo)) continue; final PsiMethod method = ((MethodCandidateInfo)conflict).getElement(); if (method.hasModifierProperty(PsiModifier.STATIC)) { PsiElement currentFileResolveScope = conflict.getCurrentFileResolveScope(); if (currentFileResolveScope instanceof PsiImportStaticStatement) continue; final PsiClass containingClass = method.getContainingClass(); if (containingClass != null && containingClass.isInterface()) { PsiClass qualifierClass = getQualifiedClass(currentFileResolveScope); if (qualifierClass != null && !containingClass.getManager().areElementsEquivalent(containingClass, qualifierClass)) { iterator.remove(); } } } } }