PersistentSearchEverywhereContributorFilter<FileTypeRef> (@NotNull Project project) { List<FileTypeRef> items = new ArrayList<>(FileTypeRef.forAllFileTypes()); items.add(0, GotoFileModel.DIRECTORY_FILE_TYPE_REF); return new PersistentSearchEverywhereContributorFilter<>(items, GotoFileConfiguration.getInstance(project), FileTypeRef::getDisplayName, FileTypeRef::getIcon); }