void (@NotNull PsiExpressionList list) { super.visitExpressionList(list); PsiElement parent = list.getParent(); if (parent instanceof PsiMethodCallExpression expression && expression.getArgumentList() == list) { PsiReferenceExpression referenceExpression = expression.getMethodExpression(); JavaResolveResult[] results = resolveOptimised(referenceExpression); if (results == null) return; JavaResolveResult result = results.length == 1 ? results[0] : JavaResolveResult.EMPTY; PsiResolveHelper resolveHelper; if ((!result.isAccessible() || !result.isStaticsScopeCorrect()) && !HighlightMethodUtil.isDummyConstructorCall(expression, resolveHelper = getResolveHelper(getProject()), list, referenceExpression) && // this check is for fake expression from JspMethodCallImpl referenceExpression.getParent() == expression) { try { if (PsiTreeUtil.findChildrenOfType(expression.getArgumentList(), PsiLambdaExpression.class).isEmpty()) { PsiElement resolved = result.getElement(); add(HighlightMethodUtil.checkAmbiguousMethodCallArguments(referenceExpression, results, list, resolved, result, expression, resolveHelper, list)); } } catch (IndexNotReadyException ignored) { } } } }