codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/EnumGenerator.java [65:83]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                    for (String part : name.split("(?U)[\\W_]")) {
                        if (part.matches(".*[a-z].*") && part.matches(".*[A-Z].*")) {
                            // Mixed case names should not be changed other than first letter capitalized.
                            labelBuilder.append(StringUtils.capitalize(part));
                        } else {
                            // For all non-mixed case parts title case first letter, followed by all other lower cased.
                            labelBuilder.append(StringUtils.capitalize(part.toLowerCase(Locale.US)));
                        }
                    }
                    String label = labelBuilder.toString();

                    // If camel-casing would cause a conflict, don't camel-case this enum value.
                    if (constants.contains(label)) {
                        LOGGER.warning(String.format(
                                "Multiple enums resolved to the same name, `%s`, using unaltered value for: %s",
                                label, name));
                        label = name;
                    }
                    constants.add(label);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



codegen/smithy-go-codegen/src/main/java/software/amazon/smithy/go/codegen/IntEnumGenerator.java [64:82]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                for (String part : name.split("(?U)[\\W_]")) {
                    if (part.matches(".*[a-z].*") && part.matches(".*[A-Z].*")) {
                        // Mixed case names should not be changed other than first letter capitalized.
                        labelBuilder.append(StringUtils.capitalize(part));
                    } else {
                        // For all non-mixed case parts title case first letter, followed by all other lower cased.
                        labelBuilder.append(StringUtils.capitalize(part.toLowerCase(Locale.US)));
                    }
                }
                String label = labelBuilder.toString();

                // If camel-casing would cause a conflict, don't camel-case this enum value.
                if (constants.contains(label)) {
                    LOGGER.warning(String.format(
                            "Multiple enums resolved to the same name, `%s`, using unaltered value for: %s",
                            label, name));
                    label = name;
                }
                constants.add(label);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



