public static <T> TreePath convertCollectionToTreePath(@NotNull Iterable<? extends T> collection) {
    return convertCollectionToTreePath(collection, object -> object);
  }
public static <T> TreePath convertCollectionToTreePath(@NotNull Iterable<? extends T> collection)