void (@NotNull Project project, @NotNull PsiElement element, @NotNull ModPsiUpdater updater) { final PsiNewExpression expression = tryCast(element.getParent(), PsiNewExpression.class); if (expression == null) return; final CharArrayCreationArgument charArrayCreationArgument = CharArrayCreationArgument.from(expression.getArgumentList()); if (charArrayCreationArgument == null) return; CommentTracker ct = new CommentTracker(); final String replacementText = "String.valueOf(" + ct.text(charArrayCreationArgument.initializer) + ")"; PsiReplacementUtil.replaceExpression(expression, replacementText, ct); }