private String printNodes(StringBuilder buffy, Node node, int level) {
		String indent = indent(level * 3);
		if (node == null) {
			buffy.append("<detached> " + getClass().getSimpleName());
			return buffy.toString();
		}
		String name = node.getDescription();
		if (this == node) {
			buffy.append(indent);
			buffy.append("***   ");
			buffy.append(name);
			buffy.append("   ***").append('\n');
		}
		else {
			buffy.append(indent).append(name).append('\n');
		}

		List<Node> children = node.getChildren();
		for (Node n : children) {
			printNodes(buffy, n, level + 1);
		}
		return buffy.toString();
	}
Prints the hierarchy of nodes represented by this node

@return a string representation of the hierarchy of nodes represented by this node.
Ghidra/Framework/Docking/src/main/java/docking/Node.java