docs: public Set<ChainEventListener> removeAllChainEventListeners() {
          Set<ChainEventListener> returnListeners = new HashSet<ChainEventListener>(this.chainEventListeners);
          this.chainEventListeners.clear();
          if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
              Tr.debug(this, tc, "removeAllChainEventListeners", returnListeners);
          }
          return returnListeners;
      }