private void fireNotification(@NotNull Consumer<? super ProgressListener> action) {
    synchronized (myLock) {
      List<ProgressListener> list = new ArrayList<>(myListeners);
      ApplicationManager.getApplication().invokeLater(() -> list.forEach(action), o -> myDisposableFlag.isDisposed());
    }
  }
private void fireNotification(@NotNull Consumer<? super ProgressListener> action)