@SuppressWarnings("unchecked")
        void putInterceptor(CodeInterceptor<? extends CodeSection, T> interceptor) {
            interceptors.add((CodeInterceptor<CodeSection, T>) interceptor);
        }
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