private String applyPoppedInterceptors(State popped, State state, CodeSection sectionValue, String result) {
        for (CodeInterceptor<CodeSection, T> interceptor : state.getInterceptors(sectionValue)) {
            result = interceptSection(popped, interceptor, result);
        }
        return result;
    }
Pops the current AbstractCodeWriter state from the state stack.

<p>This method is used to reverse a previous {@link #pushState}
operation. It configures the current AbstractCodeWriter state to what it was
before the last preceding {@code pushState} call.

@return Returns self.
@throws IllegalStateException if there a no states to pop.
smithy-utils/src/main/java/software/amazon/smithy/utils/AbstractCodeWriter.java