@Nullable
  private static <E extends WorkspaceEntity> IndexableIteratorPresentation findPresentation(@NotNull EntityPointer<E> reference,
                                                                                            @NotNull Map<EntityPointer<?>, WorkspaceEntity> referenceMap,
                                                                                            @NotNull Map<Class<WorkspaceEntity>, CustomizingIndexingPresentationContributor<?>> contributorMap) {
    E entity = (E)referenceMap.get(reference);
    if (entity == null) {
      return null;
    }
    CustomizingIndexingPresentationContributor<E> contributor =
      (CustomizingIndexingPresentationContributor<E>)contributorMap.get(entity.getEntityInterface());
    return contributor == null ? null : contributor.customizeIteratorPresentation(entity);
  }
@Nullable
  private static <E extends WorkspaceEntity> IndexableIteratorPresentation findPresentation(@NotNull EntityPointer<E> reference,
                                                                                            @NotNull Map<EntityPointer<?>, WorkspaceEntity> referenceMap,
                                                                                            @NotNull Map<Class<WorkspaceEntity>, CustomizingIndexingPresentationContributor<?>> contributorMap)