public T setNewline(char newline) {
        return setNewline(String.valueOf(newline));
    }
Sets the character used to represent newlines in the current state
("\n" is the default).

<p>This call also enables newlines in the current state by calling
{@link #enableNewlines()}.

@param newline Newline character to use.
@return Returns self.
smithy-utils/src/main/java/software/amazon/smithy/utils/AbstractCodeWriter.java