@Nullable
	public synchronized WorkspaceTreeNode getNodeByPath(@Nonnull PathNode<?> path) {
		// Base case, we are that path.
		PathNode<?> value = getValue();
		if (path.equals(value))
			return this;

		// Check all children for a match, regardless of the current filter.
		for (TreeItem<PathNode<?>> child : getSourceChildren())
			if (path.isDescendantOf(child.getValue()) && child instanceof WorkspaceTreeNode childNode)
				return childNode.getNodeByPath(path);

		return null;
	}
Searches for a {@link WorkspaceTreeNode} item in the tree model, matching the given path.

@param path
		Path associated with node to look for in tree.

@return Node containing the path in the tree.
recaf-ui/src/main/java/software/coley/recaf/ui/control/tree/WorkspaceTreeNode.java