private GTreeNode getDataTreeNodeByPath(String path) {
		int len = path.length();
		if (len == 0 || path.charAt(0) != FileSystem.SEPARATOR_CHAR) {
			throw new IllegalArgumentException(
				"Absolute path must begin with '" + FileSystem.SEPARATOR_CHAR + "'");
		}

		GTreeNode node = rootNode;
		String[] split = path.split(FileSystem.SEPARATOR);
		if (split.length == 0) {
			return node;
		}

		for (int i = 1; i < split.length; i++) {
			GTreeNode child = getChild(node, split[i]);
			if (child == null) {
				return null;
			}
			node = child;
		}
		return node;
	}
This class provides some convenience methods for interacting with a {@link DataTree}.
Ghidra/Test/IntegrationTest/src/test.slow/java/ghidra/test/DataTreeHelper.java