@Override
    public void run() {
        // Only create builder methods for aggregate types.
        if (baseShape.getType().getCategory().equals(ShapeType.Category.AGGREGATE)) {
            writeToBuilderMethod();
            writeBuilderMethod();
            writeBuilderClass();
        }
    }
Generates a static builder for a Java class.

<p>In addition to the static builder class, this generator will create
{@code builder()} and {@code toBuilder()} methods for the target class.
smithy-trait-codegen/src/main/java/software/amazon/smithy/traitcodegen/generators/BuilderGenerator.java