code: function DocAction(docStr) {
      return function (target, propertyKey, descriptor) {
          let m = exports.globalKCState.getOrInsertController(target.constructor).getOrInsertMethod(propertyKey);
          m.docString = docStr;
      };
  }
docs: Attach a documentation string to the method
  @param {string} docStr - The documentation string.