public static CodeWriter createDefault() {
        return new CodeWriter().trimTrailingSpaces();
    }
Creates a default instance of a CodeWriter that uses "\n" for newlines,
flattens multiple successive blank lines into a single blank line,
and adds a trailing new line if needed when converting the CodeWriter
to a string.

@return Returns the created and configured CodeWriter.
smithy-utils/src/main/java/software/amazon/smithy/utils/CodeWriter.java