String (PsiCallExpression call) { PsiExpression place = findPlace(call); if (place != null && !ExpressionUtils.isNullLiteral(place)) { return PsiExpressionTrimRenderer.render(place); } PsiMethod method = call.resolveMethod(); if (method == null) return toString(); PsiParameter[] params = method.getParameterList().getParameters(); if (myIndex == 0 && params.length == 1) { return JavaElementKind.PARAMETER.subject(); } if (myIndex < params.length) { PsiParameter param = params[myIndex]; if (param instanceof ClsParameterImpl && ((ClsParameterImpl)param).isAutoGeneratedName()) { return "param" + (myIndex + 1); } return param.getName(); } return toString(); }