@Override
    public R floatShape(FloatShape shape) {
        return numberShape(shape);
    }
This class provides a simplified visitor interface for visiting trait shapes.

<p>When handling trait shapes, all number shapes are treat the same, so we can handle
all numberShape branches with a single common method to reduce duplication.
The following shapes are not supported when visiting traits:
<ul>
    <li>MemberShapes</li>
    <li>UnionShapes</li>
    <li>BlobShapes</li>
</ul>

@param <R> Return type
smithy-trait-codegen/src/main/java/software/amazon/smithy/traitcodegen/generators/TraitVisitor.java