class Test{ void foo() { if (cond1){ if (cond2) return; x(); } else if (cond3){ } } }