private @NotNull Set<Key<?>> getActiveProviderKeys() {
    List<BeforeRunTask<?>> items = myModel.getItems();
    Set<Key<?>> result = CollectionFactory.createSmallMemoryFootprintSet(items.size());
    for (BeforeRunTask<?> task : items) {
      result.add(task.getProviderId());
    }
    return result;
  }
private @NotNull Set<Key<?>> getActiveProviderKeys()