void () { doTest(""" enum X {A, B, C} class Test { void test(X x, boolean b, boolean c) { if (b) { if (x == null || x == X.A || x == X.B || x == X.C) return; } else if (c) { if (x == null || x == X.A) return; } else { if (x == null || x == X.B) return; } /*'switch' statement on enum type 'X' misses cases: 'A', 'B', and 'C'*/switch/**/ (x) { } } }"""); }