private void autoMergeWhereCodeUnitsMerged(TaskMonitor monitor) throws CancelledException {
		replaceReferences(pickedLatestCodeUnits, KEEP_LATEST, monitor);
		replaceReferences(pickedMyCodeUnits, KEEP_MY, monitor);
		replaceReferences(pickedOriginalCodeUnits, KEEP_ORIGINAL, monitor);
	}
Merges the references from the same program that had its code units chosen
in the Code Unit merge phase.
@param monitor the task monitor for allowing cancel and showing progress.
@throws CancelledException if the user cancels the merge.
Ghidra/Features/Base/src/main/java/ghidra/app/merge/listing/ReferenceMerger.java