void (@NotNull Project project, @NotNull PsiElement element, @NotNull ModPsiUpdater updater) { PsiBinaryExpression binOp = PsiTreeUtil.getParentOfType(element, PsiBinaryExpression.class); if (binOp == null) return; CommentTracker ct = new CommentTracker(); String replacement; if(myYodaCondition) { PsiExpression operand = binOp.getROperand(); if (operand == null) return; replacement = getReplacement() + ct.text(operand); } else { replacement = ct.text(binOp.getLOperand()) + getReplacement(); } ct.replaceAndRestoreComments(binOp, replacement); }