private void writeBuilderReturn() {
        // String list traits need a custom builder return
        if (TraitCodegenUtils.isJavaStringList(baseShape, symbolProvider)) {
            writer.write("$T(getValues(), getSourceLocation())", symbol);
        } else {
            writer.write("$T(this)", symbol);
        }
    }
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