void () { Object o = "Hello"; switch (o) { case null: System.out.println(); case <error descr="Illegal fall-through to a pattern">Integer i</error>: System.out.println(); default: throw new IllegalStateException("Unexpected value: " + o); } }