@Override
	public boolean hasEqualOrChildValue(@Nonnull PathNode<?> other) {
		if (other instanceof ClassMemberPathNode otherMemberPath) {
			ClassMember member = getValue();
			ClassMember otherMember = otherMemberPath.getValue();

			// We'll determine equality just by the name+type of the contained member.
			// Path equality should match by location, so comparing just by name+type
			// allows this path and the other path to have different versions of
			// the same member.
			return member.getName().equals(otherMember.getName()) &&
					member.getDescriptor().equals(otherMember.getDescriptor());
		}

		return false;
	}
@param insn
		Instruction to wrap into node.
@param index
		Index of the instruction within the method code.

@return Path node of instruction, with the current member as parent.
recaf-core/src/main/java/software/coley/recaf/path/ClassMemberPathNode.java