private String findAndFormatStackTraceElement(String content, boolean inline) {
        if (enableStackTraceComments) {
            for (StackTraceElement e : Thread.currentThread().getStackTrace()) {
                if (isStackTraceRelevant(e)) {
                    return formatWithStackTraceElement(content, e, inline);
                }
            }
        }

        return content;
    }
Writes text to the AbstractCodeWriter and appends a newline.

<p>The provided text does not use any kind of expression formatting.

<p>Indentation and the newline prefix is only prepended if the writer's
cursor is at the beginning of a newline.

<p>Stack trace comments are written along with the given content if
{@link #enableStackTraceComments(boolean)} was called with {@code true}.

@param content Content to write.
@return Returns self.
smithy-utils/src/main/java/software/amazon/smithy/utils/AbstractCodeWriter.java