void (@NotNull PsiMethodCallExpression expression) { super.visitMethodCallExpression(expression); if (expression == methodCallExpression) { return; } final PsiMethod resolved = expression.resolveMethod(); if (resolved == psiMethod) { proceed[0] = false; } else { final PsiElement resolveScope = expression.getMethodExpression().advancedResolve(false).getCurrentFileResolveScope(); if (resolveScope == usedImport) { proceed[0] = false; } } }