private <T extends WorkspaceEntity> void handleProvider(ExternalLibrariesWorkspaceModelNodesProvider<T> provider,
                                                          @NotNull Project project,
                                                          ImmutableEntityStorage storage,
                                                          List<? super AbstractTreeNode<?>> children) {
    Sequence<T> sequence = storage.entities(provider.getWorkspaceClass());
    for (T entity : SequencesKt.asIterable(sequence)) {
      ProgressManager.checkCanceled();
      AbstractTreeNode<?> node = provider.createNode(entity, project, getSettings());
      if (node != null) {
        children.add(node);
      }
    }
  }
private <T extends WorkspaceEntity> void handleProvider(ExternalLibrariesWorkspaceModelNodesProvider<T> provider,
                                                          @NotNull Project project,
                                                          ImmutableEntityStorage storage,
                                                          List<? super AbstractTreeNode<?>> children)