docs: public static String printString(CharSequence text)
      {
          if (text == null)
          {
              return "null.string";
          }
          if (text.length() == 0)
          {
              return "\"\"";
          }
  
          StringBuilder builder = new StringBuilder(text.length() + 2);
          try
          {
              printString(builder, text);
          }
          catch (IOException e)
          {
              // Shouldn't happen
              throw new Error(e);
          }
          return builder.toString();
      }