// "Merge with 'case 1'" "GENERIC_ERROR_OR_WARNING" class C { void foo(int n) { String s = switch (n) { case 1, 4 -> bar("A"); case 2 -> bar("B"); case 3 -> bar("A"); default -> ""; } } String bar(String s){return s;} }