private void makeInterceptableCodeSection(CodeSection section) {
            currentState.sectionValue = section;
            // If a section value is specified, then capture this state separately.
            // A separate string builder is given to the state, the indentation
            // level is reset back to the root, and the newline prefix is removed.
            // Indentation and prefixes are added automatically if/when the
            // captured text is written into the parent state.
            currentState.builder = new StringBuilder();
            currentState.newlinePrefix = "";
            dedent(-1);
        }
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