List<IndexableIteratorBuilder> (@NotNull Project project, @NotNull Collection<? extends EntityChange<?>> events, @NotNull EntityStorage entityStorage) { List<IndexableIteratorBuilder> builders = new SmartList<>(); WorkspaceIndexingRootsBuilder descriptionsBuilder = new WorkspaceIndexingRootsBuilder(false); for (EntityChange<? extends WorkspaceEntity> change : events) { collectIteratorBuildersOnChange(Change.fromEntityChange(change), change.getOldEntity(), change.getNewEntity(), project, builders, descriptionsBuilder, entityStorage); } builders.addAll(descriptionsBuilder.createBuilders(project)); return builders; }