void test(A a, B b){
      switch (a){
        case A1:
          System.out.println("A1");
          break;
        case A2:
          System.out.println("A2");
          break;
      }
      switch (b){
        case B1:
          System.out.println("B1");
          break;
        case B2:
          System.out.println("B2");
          break;
      }
    }
This illustrates a bug in fernflower as of 20170421. Decompiled output of this class does not compile back.
testData/src/java8/pkg/TestSwitchOnEnum.java