// "Create missing branches 'B' and 'D'" "true"
enum Foo { A, B, C, D, E }

class Test {
  void testI(Foo foo) {
    switch (foo<caret>) {
      case A -> System.out.println(1);
      case C, default -> System.out.println(2);
      case E -> System.out.println(3);
    }
  }
}