private Expression parenthesizeRight(Expression expression, ExpressionPriority context) {
if (expression == null) {
return null;
}
ExpressionPriority priority = ExpressionPriority.valueOf(expression);
if (ExpressionPriority.isParenthesesRequired(context, true, priority)) {
return newParenthesizedExpression0(expression);
} else {
return expression;
}