docs: public static void printSymbol(Appendable out, CharSequence text)
          throws IOException
      {
          if (text == null)
          {
              out.append("null.symbol");
          }
          else if (symbolNeedsQuoting(text, true))
          {
              printQuotedSymbol(out, text);
          }
          else
          {
              out.append(text);
          }
      }