docs: public static String escapeIllegalCharacters(String documentation) {
          if (documentation == null) {
              return "";
          }
  
          /*
           * this specifically handles a case where a '* /' sequence may
           * be present in documentation and inadvertently terminate that Java
           * comment line, resulting in broken code.
           */
          documentation = documentation.replaceAll("\\*\\/", "*&#47;");
  
          return documentation;
      }