private void merge(IDGroup idGroup, int chosenConflictOption, TaskMonitor monitor) {
		Program fromPgm = null;
		switch (chosenConflictOption) {
			case KEEP_LATEST:
				fromPgm = latestPgm;
				break;
			case KEEP_MY:
				fromPgm = myPgm;
				break;
			case KEEP_ORIGINAL:
				fromPgm = originalPgm;
				break;
			default:
				return;
		}
		mergeExternalProgramName(resultPgm, fromPgm, idGroup, monitor);
	}
Actually merges the indicated program name from the program version indicated
by conflictOption into the result program.
@param idGroup the symbol ID group for the external program (Library) to merge.
@param chosenConflictOption conflict option indicating the program version the user chose.
@param monitor the task monitor for feedback and canceling.
@throws CancelledException if the user cancels the merge.
Ghidra/Features/Base/src/main/java/ghidra/app/merge/listing/ExternalProgramMerger.java