public static void registerPersistent(@NotNull Disposable parent, @NotNull PersistentUiInterceptor<?> interceptor) {
    if (persistentInterceptors.add(interceptor)) {
      Disposer.register(parent, () -> persistentInterceptors.remove(interceptor));
    }
  }
public static void registerPersistent(@NotNull Disposable parent, @NotNull PersistentUiInterceptor<?> interceptor)