@Deprecated
    public CodeWriter onSectionPrepend(String sectionName, Runnable writeBefore) {
        return onSection(sectionName, contents -> {
            writeBefore.run();
            writeWithNoFormatting(contents);
        });
    }
Prepends to the contents of a named section.

<pre>{@code
writer.onSectionPrepend("foo", () -> {
    writer.write("This text is added before the rest of the section.");
});
}</pre>

@param sectionName The name of the section to intercept.
@param writeBefore A runnable that prepends to a section by mutating the writer.
@return Returns the CodeWriter.
@see AbstractCodeWriter#onSection(CodeInterceptor) as an alternative
     that allows more explicit whitespace handling.
smithy-utils/src/main/java/software/amazon/smithy/utils/CodeWriter.java