public CodeUnit getMatchingCodeUnit(CodeUnit codeUnit, Side side) {
		if (correlation == null) {
			return null;
		}
		Side otherSide = side.otherSide();

		Address minAddress = codeUnit.getMinAddress();
		Program otherSideProgram = correlation.getProgram(otherSide);

		Address otherAddress = correlation.getAddress(otherSide, minAddress);
		if (otherAddress != null) {
			return otherSideProgram.getListing().getCodeUnitAt(otherAddress);
		}

		// code unit not from our programs.
		return null;
	}
Gets the matching code unit from the other side listing given a code unit from a given side
of the two listings whose differences this class determines.
@param codeUnit the code unit whose match this determines.
@param side the side the code unit came from
@return the matching code unit or null
Ghidra/Features/Base/src/main/java/ghidra/program/util/ListingDiff.java