FileBreadcrumbsCollector (@Nullable VirtualFile file) { if (file == null) return null; FileViewProvider viewProvider = PsiManager.getInstance(myProject).findViewProvider(file); if (viewProvider == null) return null; if (!ContainerUtil.exists(viewProvider.getLanguages(), lang -> BreadcrumbsUtilEx.isBreadcrumbsShownFor(lang) && BreadcrumbsUtil.getInfoProvider(lang) != null)) { return null; } return findCollectorFor(myProject, file, this); }