@Override
	public Address getOverridingReference(RefType type) {
		if (!type.isOverride()) {
			return null;
		}
		
		List<Reference> overridingRefs = getPrimaryOverridingReferences();
		Address overrideAddress = null;
		for (Reference ref : overridingRefs) {
			if (ref.getReferenceType().equals(type)) {
				if (overrideAddress == null) {
					overrideAddress = ref.getToAddress();
				}
				else {
					return null; //only allow one primary reference of each type
				}
			}
		}
		return overrideAddress;
	}
Initialize the cache or any references on an instruction that would cause an override.

@return list of any program overrides
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/listing/InstructionPcodeOverride.java