public int getTrimBlankLines() {
        return trimBlankLines;
    }
Returns the number of allowed consecutive newlines that are not
trimmed by the AbstractCodeWriter when written to a string.

@return Returns the number of allowed consecutive newlines. -1 means
  that no newlines are trimmed. 0 allows no blank lines. 1 or more
  allows for no more than N consecutive blank lines.
smithy-utils/src/main/java/software/amazon/smithy/utils/AbstractCodeWriter.java