public <T extends ExternalSystemNode> void updateNodesAsync(@NotNull Collection<Class<? extends T>> nodeClasses, boolean structure) {
    final List<TreePath> nodes = new LinkedList<>();
    myAsyncTreeModel
      .accept(new CollectingVisitor<>(nodes, nodeClasses), false)
      .onSuccess(p -> {
          invalidatePaths(nodes, structure);
      });
  }
public <T extends ExternalSystemNode> void updateNodesAsync(@NotNull Collection<Class<? extends T>> nodeClasses, boolean structure)