protected static @Nullable FileBreadcrumbsCollector findCollectorFor(@NotNull Project project,
                                                                       @Nullable VirtualFile file,
                                                                       @NotNull BreadcrumbsPanel panel) {
    if (file == null) return null;
    FileBreadcrumbsCollector collector = FileBreadcrumbsCollector.findBreadcrumbsCollector(project, file);
    collector.watchForChanges(file, panel.myEditor, panel, () -> panel.queueUpdate());
    return collector;
  }
protected static @Nullable FileBreadcrumbsCollector findCollectorFor(@NotNull Project project,
                                                                       @Nullable VirtualFile file,
                                                                       @NotNull BreadcrumbsPanel panel)