@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((address == null) ? 0 : address.hashCode());
		return result;
	}
A preview of how the reference was used
Ghidra/Features/Base/src/main/java/ghidra/app/services/DataTypeReference.java