@Override
	public boolean equals(Object o) {
		// Resource equality checks are abysmally slow because are checking if all the contained
		// contents are also equal. Realistically we can get away with a reference check.
		if (o instanceof ResourcePathNode otherPath)
			return getValue() == otherPath.getValue() && Objects.equals(getParent(), otherPath.getParent());
		return false;
	}
@return {@code true} when this resource node, wraps the primary resource of a workspace.
recaf-core/src/main/java/software/coley/recaf/path/ResourcePathNode.java