code: public void addHandler(Handler handler) {
          if (null == handlers) {
              handlers = new ArrayList<>();
          }
          handlers.add(handler);
      }
docs: Adds the handler.
  
  @param handler
  the handler
  @since 2.2.0