void (@NotNull Project project, @NotNull PsiElement element, @NotNull ModPsiUpdater updater) { final PsiAssignmentExpression expression = (PsiAssignmentExpression)element; final PsiExpression leftExpression = expression.getLExpression(); final PsiExpression rightExpression = expression.getRExpression(); assert rightExpression != null; CommentTracker commentTracker = new CommentTracker(); final String newExpression = commentTracker.text(leftExpression) + "==" + commentTracker.text(rightExpression); PsiReplacementUtil.replaceExpression(expression, newExpression, commentTracker); }