code: public MsgChecker replaceCallback(BasicCheckRule type, ValidationInvalidCallback cb) {
          this.callbackMap.put(type.name(), cb);
          return this;
      }
docs: Replace callback msg checker.
  
  @param type the type
  @param cb   the cb
  @return the msg checker