// "Split values of 'switch' branch" "true" class C { void foo(Object o) { String s = ""; switch (o) { case null -> s = "x"; case ((((Number n)) && ((n.intValue() == 42)))) -> s = "x"; default -> throw new IllegalStateException("Unexpected value: " + o); } } }