private Address toAddress(Object obj) {
			if (obj instanceof Address) {
				return (Address) obj;
			}
			LocationReference ref = (LocationReference) obj;
			return ref.getLocationOfUse();
		}
A special comparator that allows us to find a LocationReference from a given address.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/navigation/locationreferences/LocationDescriptor.java