@Override
	public boolean equals(Object obj) {
		if (this == obj) {
			return true;
		}

		if (!(obj instanceof GenericCompositeDataTypeLocationDescriptor)) {
			return false;
		}

		GenericCompositeDataTypeLocationDescriptor otherDescriptor =
			(GenericCompositeDataTypeLocationDescriptor) obj;
		return getDataType().equals(otherDescriptor.getDataType()) &&
			fieldMatcher.equals(otherDescriptor.fieldMatcher);
	}
A data type location descriptor that allows you to represent a location for a member field of a
data type, such as a composite or an enum
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/navigation/locationreferences/GenericCompositeDataTypeLocationDescriptor.java