private void recomputeCodeUnitDiffs() {
		AddressSetView addressSet1 = correlation.getAddresses(LEFT);
		AddressSetView addressSet2 = correlation.getAddresses(RIGHT);
		AddressSetView matchedAddresses1 = addressSet1.subtract(unmatchedCode1);
		AddressSetView matchedAddresses2 = addressSet2.subtract(unmatchedCode2);
		Listing listing1 = correlation.getProgram(LEFT).getListing();
		Listing listing2 = correlation.getProgram(RIGHT).getListing();
		CodeUnitIterator cuIter1 = listing1.getCodeUnits(matchedAddresses1, true);
		CodeUnitIterator cuIter2 = listing2.getCodeUnits(matchedAddresses2, true);
		codeUnitDiffs1.clear();
		for (CodeUnit cu1 : cuIter1) {
			Address min1 = cu1.getMinAddress();
			Address addr2 = correlation.getAddress(RIGHT, min1);
			if (addr2 == null) {
				continue;
			}
			CodeUnit cu2 = listing2.getCodeUnitAt(addr2);

			getCodeUnitDiffs(cu1, cu2, codeUnitDiffs1);
		}
		codeUnitDiffs2.clear();
		for (CodeUnit cu2 : cuIter2) {
			Address min2 = cu2.getMinAddress();
			Address addr1 = correlation.getAddress(LEFT, min2);
			if (addr1 == null) {
				continue;
			}
			CodeUnit cu1 = listing1.getCodeUnitAt(addr1);

			getCodeUnitDiffs(cu2, cu1, codeUnitDiffs2);
		}
	}
Determines if this ListingDiff currently has an address correlation to use.
@return true if it has an address correlation currently.
Ghidra/Features/Base/src/main/java/ghidra/program/util/ListingDiff.java