@Override
  protected void processIntention(@NotNull PsiElement element, @NotNull ActionContext context, @NotNull ModPsiUpdater updater) {
    final GrConditionalExpression exp =
        (GrConditionalExpression) element;

    final GrExpression condition = exp.getCondition();
    final GrExpression elseExpression = exp.getElseBranch();
    final GrExpression thenExpression = exp.getThenBranch();
    assert elseExpression != null;
    assert thenExpression != null;
    final String newExpression =
        BoolUtils.getNegatedExpressionText(condition) + '?' +
            elseExpression.getText() +
            ':' +
            thenExpression.getText();
    PsiImplUtil.replaceExpression(newExpression, exp);
  }
@Override
  protected void processIntention(@NotNull PsiElement element, @NotNull ActionContext context, @NotNull ModPsiUpdater updater)