public static ParenthesizedExpression parenthesizeAndReplace(Expression expression) {
    ParenthesizedExpression newExpr = new ParenthesizedExpression();
    expression.replaceWith(newExpr);
    newExpr.setExpression(expression);
    return newExpr;
  }
public static ParenthesizedExpression parenthesizeAndReplace ( Expression expression ) { ParenthesizedExpression newExpr = new ParenthesizedExpression ( ) ; expression . replaceWith ( newExpr ) ; newExpr . setExpression ( expression ) ; return newExpr ; }
Wraps the given expression with a ParenthesizedExpression and replaces it
in the tree.