boolean (Statement stat) { boolean res = false; for (Statement st : stat.getStats()) { if (st.getExprents() == null) { res |= enhanceLoopsRec(st); } } if (stat.type == StatementType.DO) { res |= enhanceLoop((DoStatement)stat); } return res; }