@Nonnull
	public String printTree() {
		StringBuilder sb = new StringBuilder(toString());
		for (TreeItem<PathNode<?>> child : getSourceChildren()) {
			if (child instanceof WorkspaceTreeNode childNode) {
				String childTree = childNode.printTree();
				for (String childTreeEntry : StringUtil.fastSplit(childTree, false, '\n')) {
					sb.append("\n    ").append(childTreeEntry);
				}
			}
		}
		return sb.toString();
	}
A debugging util to inspect the state of the tree without having to dig through
the actual references in the debugger.

@return String representation of this tree and all of its descendants.
recaf-ui/src/main/java/software/coley/recaf/ui/control/tree/WorkspaceTreeNode.java