public void visit(SetOperationList setOperationList) throws Exception { if (setOperationList.getSelects() != null) { for (SelectBody selectBody : setOperationList.getSelects()) { selectBody.accept(this); } } if (setOperationList.getOrderByElements() != null) { for (OrderByElement orderByElement : setOperationList.getOrderByElements()) { orderByElement.accept(this); } } }
@Override public void visit(SetOperationList setOpList) { for (SelectBody select : setOpList.getSelects()) { select.accept(this); } }