class Local01 { public static void main(String[] args){ class $1 { final int[] $SwitchMap$Enum01; { $SwitchMap$Enum01 = new int[Enum01.values().length]; $SwitchMap$Enum01[Enum01.CCC.ordinal()] = 1; $SwitchMap$Enum01[Enum01.AAA.ordinal()] = 2; } } Enum01 en = Enum01.AAA; switch(new $1().$SwitchMap$Enum01[en.ordinal()]){ case 1: System.out.println("CCC"); break; case 2: System.out.println("AAA"); break; } } }