class SelectUtils {

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


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


			public void visit(SetOperationList setOpList) {
				throw new UnsupportedOperationException("Not supported yet.");
			}


			public void visit(WithItem withItem) {
				throw new UnsupportedOperationException("Not supported yet.");
			}
		});
	}

	private  SelectUtils();

}