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

		if (obj == null) {
			return false;
		}

		if (getClass() != obj.getClass()) {
			return false;
		}

		LocationReference other = (LocationReference) obj;
		if (isOffcutReference != other.isOffcutReference) {
			return false;
		}
		if (!context.equals(other.context)) {
			return false;
		}
		if (!Objects.equals(locationOfUseAddress, other.locationOfUseAddress)) {
			return false;
		}
		return refType.equals(other.refType);
	}
Returns the program location associated with this reference; may be null.
@return the program location associated with this reference; may be null.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/navigation/locationreferences/LocationReference.java