private String getSectionName() {
            if (isRoot) {
                return "ROOT";
            } else if (sectionValue == null) {
                return "UNNAMED";
            } else {
                return sectionValue.sectionName();
            }
        }
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