assert rewrite != null;
assert numberExpression != null;
final AST ast = rewrite.getAST();
InfixExpression andOddnessCheck = ast.newInfixExpression();
ParenthesizedExpression parenthesizedExpression = ast.newParenthesizedExpression();
InfixExpression andExpression = ast.newInfixExpression();
andExpression.setLeftOperand((Expression) rewrite.createMoveTarget(numberExpression));
andExpression.setOperator(AND);
andExpression.setRightOperand(ast.newNumberLiteral("1"));
parenthesizedExpression.setExpression(andExpression);
andOddnessCheck.setLeftOperand(parenthesizedExpression);
andOddnessCheck.setOperator(EQUALS);
andOddnessCheck.setRightOperand(ast.newNumberLiteral("1"));
return andOddnessCheck;