void switchStatement() throws Exception{
        String foo = "";
        Collection<?> c = switch (foo) {
            case "list" -> List.of();
            case "set" -> Set.of();
            default -> throw new IllegalArgumentException();
        };
    }
Input for class analysis test verifying Java 14 switch statement.

@author gjoranv
bundle-plugin/src/test/java/com/yahoo/container/plugin/classanalysis/sampleclasses/SwitchStatement.java