public static void recurseOpen(@Nonnull TreeItem<?> item) {
		item.setExpanded(true);
		if (item.getChildren().size() == 1)
			recurseOpen(item.getChildren().get(0));
	}
Opens children recursively as long as only as there is only a path of single children.

@param item
		Item to recursively open.
recaf-ui/src/main/java/software/coley/recaf/ui/control/tree/TreeItems.java