void (T t) { switch (<error descr="'switch' statement does not cover all possible input values">t</error>) { //error case R(String s)-> System.out.println(3); case I i -> System.out.println(1); case B b -> System.out.println(2); } }