void (@NotNull Project project, @NotNull PsiElement element, @NotNull ModPsiUpdater updater) { final PsiNewExpression expression = tryCast(element.getParent(), PsiNewExpression.class); if (expression == null) return; final PsiExpressionList argList = expression.getArgumentList(); if (argList == null) return; final PsiExpression[] args = argList.getExpressions(); CommentTracker commentTracker = new CommentTracker(); final String argText = (args.length == 1) ? commentTracker.text(args[0]) : "\"\""; PsiReplacementUtil.replaceExpression(expression, argText, commentTracker); }