void (@NotNull Project project, @NotNull PsiElement element, @NotNull ModPsiUpdater updater) { final PsiNewExpression expression = tryCast(element, PsiNewExpression.class); if (expression == null) return; final PsiArrayInitializerExpression initializer = expression.getArrayInitializer(); if (initializer == null || initializer.getInitializers().length != 1) return; PsiReplacementUtil.replaceExpression(expression, initializer.getInitializers()[0].getText(), new CommentTracker()); }