public void changeStringEnumsToEnumShapes(boolean synthesizeEnumNames) {
        transforms.add((model, transformer) -> {
            LOGGER.finest("Creating dedicated input and output shapes for directed codegen");
            return transformer.changeStringEnumsToEnumShapes(model, synthesizeEnumNames);
        });
    }
Changes each compatible string shape with the enum trait to an enum shape.

@param synthesizeEnumNames Whether enums without names should have names synthesized if possible.
@see ModelTransformer#changeStringEnumsToEnumShapes(Model, boolean)
smithy-codegen-core/src/main/java/software/amazon/smithy/codegen/core/directed/CodegenDirector.java