void (@NotNull Project project, @NotNull PsiElement startElement, @NotNull ModPsiUpdater updater) { final PsiExpression expression = (PsiExpression)startElement; CommentTracker ct = new CommentTracker(); final String newExpression = calculateReplacementExpression(expression, ct); if(!newExpression.isEmpty()) { ct.replaceAndRestoreComments(expression, newExpression); } }