void (int x, boolean b) { if(b && <warning descr="Can be replaced with 'x == 1'">x > 0 && x < 2</warning>) {} if(<warning descr="Can be replaced with 'x == 1'">x > 0 && x < 2</warning>) {} if(<warning descr="Can be replaced with 'x == 1'">x > 0 && x < 2</warning> && b) {} if(<warning descr="Can be replaced with 'x != 1'">x < 1 || 1 < x</warning>) {} if(b || <warning descr="Can be replaced with 'x != 1'">(x == 0) || x > 1 || x < 0</warning> || b) {} if(<warning descr="Can be replaced with 'x != 2'">!(x > 1) || x > 2</warning>) {} }