public static TreePath @NotNull [] toTreePathArray(@NotNull Collection<TreePath> collection) {
    return collection.isEmpty() ? EMPTY_TREE_PATH : collection.toArray(EMPTY_TREE_PATH);
  }
public static TreePath @NotNull [] toTreePathArray(@NotNull Collection<TreePath> collection)