Model transform(ModelTransformer transformer, Model model) {
        return transformer.mapShapes(model, this::mapTraits);
    }
Maps over traits in a model using a mapping function.

<p>Shapes are only transformed and replaced in the model if one
of its traits are modified.

@see ModelTransformer#mapTraits
smithy-model/src/main/java/software/amazon/smithy/model/transform/MapTraits.java