Collection<IndexableIteratorBuilder> (Map<EntityReference<?>, WorkspaceEntity> referenceMap, Map<Class<WorkspaceEntity>, CustomizingIndexingPresentationContributor<?>> contributorMap) { IndexableIteratorPresentation presentation = findPresentation(entityReference, referenceMap, contributorMap); if (presentation == null) { return IndexableIteratorBuilders.INSTANCE.forModuleRootsFileBased(moduleId, IndexingRootHolder.Companion.fromFile(file)); } return IndexableIteratorBuilders.INSTANCE.forModuleAwareCustomizedContentEntity(moduleId, entityReference, IndexingRootHolder.Companion.fromFile(file), presentation); }