boolean (@NotNull PsiMethod candidate) { if (myCurrentFileContext instanceof PsiImportStaticStatement) { for (JavaResolveResult result : getResults()) { if (result.getElement() != candidate && result.isAccessible() && !(result.getCurrentFileResolveScope() instanceof PsiImportStaticStatement)) return true; } } return false; }