code: def to_help(self):
          
          result = []
          result.append(self.classname)
          result.append("=" * len(self.classname))
          result.append("")
          result.append("DESCRIPTION")
          result.append("")
          result.append(self.global_info())
          result.append("")
          result.append("OPTIONS")
          result.append("")
          options = javabridge.call(self.jobject, "listOptions", "()Ljava/util/Enumeration;")
          enum = javabridge.get_enumeration_wrapper(options)
          while enum.hasMoreElements():
              opt = Option(enum.nextElement())
              result.append(opt.synopsis)
              result.append(opt.description)
              result.append("")
          return '\n'.join(result)
docs: Returns a string that contains the 'global_info' text and the options.
  
          :return: the generated help string
          :rtype: str