void (@NotNull PsiExpressionList expressionList) { final JavaResolveResult result = findCalledMethod(expressionList); final PsiMethod method = (PsiMethod)result.getElement(); if (method == null) { expectedType = null; } else { final int parameterPosition = getParameterPosition(expressionList, wrappedExpression); expectedType = getTypeOfParameter(result, parameterPosition); } }