void () { if(<warning descr="Duplicate condition 'x == 2'">x == 2</warning>) { System.out.println(1); return; } if(x == 3) { System.out.println(2); return; } if(<warning descr="Duplicate condition 'x == 2'">x == 2</warning>) { System.out.println(3); return; } if(update()) { System.out.println("updated"); return; } if(x == 2) { System.out.println("Possible after update"); return; } }