void (@NotNull Project project, @NotNull PsiElement element, @NotNull ModPsiUpdater updater) { PsiMethodCallExpression call = PsiTreeUtil.getParentOfType(element, PsiMethodCallExpression.class); if (call == null) return; PsiExpression comparator = ArrayUtil.getLastElement(call.getArgumentList().getExpressions()); if (comparator == null) return; CommentTracker ct = new CommentTracker(); String reversed = getPlainComparatorExpressionFromReversed(comparator, ct); if (reversed == null) return; ct.replaceAndRestoreComments(comparator, reversed); ExpressionUtils.bindCallTo(call, myReplacement); }