// "Replace with old style 'switch' statement" "true"
import java.util.*;

public class Main {
  void foo(E e) {
      switch (e) {
          case E1:
          case E2:
              System.out.println("oops");
              break;
          default:
              System.out.println("impossible");
              return;
      }
  }
}

enum E {
  E1, E2;
}