PsiExpressionList (final PsiFile file, int offset, int parameterStart, boolean allowOuter) { PsiExpressionList argumentList = ParameterInfoUtils.findArgumentList(file, offset, parameterStart, this, allowOuter); if (argumentList == null && allowOuter) { PsiCall call = ParameterInfoUtils.findParentOfTypeWithStopElements(file, offset, PsiMethodCallExpression.class, PsiMethod.class); if (call == null) { call = ParameterInfoUtils.findParentOfTypeWithStopElements(file, offset, PsiNewExpression.class, PsiMethod.class); } if (call != null) { argumentList = call.getArgumentList(); if (argumentList != null && !argumentList.getTextRange().containsOffset(offset)) { if (PsiTreeUtil.getParentOfType(file.findElementAt(offset), PsiParenthesizedExpression.class, false, PsiCall.class) != null) { return null; } } } } return argumentList; }