//method void foo() { for(;;) { if (!stop()) break; } }