class SelectUtils {

	public static void addExpression(Select select, final Expression expr) {
		select.getSelectBody().accept(new SelectVisitor() {

			@Override
			public void visit(PlainSelect plainSelect) {
				plainSelect.getSelectItems().add(new SelectExpressionItem(expr));
			}

			@Override
			public void visit(SetOperationList setOpList) {
				throw new UnsupportedOperationException(NOT_SUPPORTED_YET);
			}

			@Override
			public void visit(WithItem withItem) {
				throw new UnsupportedOperationException(NOT_SUPPORTED_YET);
			}
		});
	}

	private  SelectUtils();

}