@Nonnull
	private static <T> TreeItem<T> getOrCreateChild(@Nonnull TreeItem<T> parent, @Nonnull T value) {
		for (TreeItem<T> child : parent.getChildren())
			if (value.equals(child.getValue()))
				return child;
		TreeItem<T> child = new TreeItem<>(value);
		parent.getChildren().add(child);
		return child;
	}
@param parent
		Parent to look in, or place child into.
@param value
		Value to look for in an associated child.
@param <T>
		Value type.

@return Tree item, a child of the parent, with the given value.
recaf-ui/src/main/java/software/coley/recaf/ui/control/popup/ItemTreeSelectionPopup.java