private void writeLine(String line) {
            write(line);

            if (!disableNewline) {
                writeNewline();
            }
        }
Inline states are created when formatting text. They aren't written
directly to the AbstractCodeWriter, but rather captured as part of the
process of expanding a template argument.
smithy-utils/src/main/java/software/amazon/smithy/utils/AbstractCodeWriter.java