private static void updateDockContainers(@NotNull DockManagerImpl manager) {
    for (DockContainer _container : manager.getContainers()) {
      if (_container instanceof TabsDockContainer container) {
        container.checkEnabled();
      }
    }
  }
private static void updateDockContainers(@NotNull DockManagerImpl manager)