private boolean mergeEnumValues(Enum destEnum, Enum srcEnum) {
		for (String srcKey : srcEnum.getNames()) {
			long srcValue = srcEnum.getValue(srcKey);

			try {
				long destValue = destEnum.getValue(srcKey);
				if (destValue == srcValue) {
					// key=value already exists, skip
					continue;
				}

				// the key exists but has a different value and the merge should fail
				return false;
			}
			catch (NoSuchElementException nse) {

				// good, we don't want the destEnum to have the key.
				// add the key to the destEnum
				try {
					destEnum.add(srcKey, srcValue);
				}
				catch (IllegalArgumentException iae) {
					// there was a conflict, fail the merge
					return false;
				}
			}
		}
		return true;
	}
Creates a Ghidra {@link Enum} datatype.
<p>
If an existing Enum with the same name is found in the DTM, and it doesn't have
any conflicting enum values, merge this enum into the existing enum.
<p>
This method takes liberties with the normal{@literal DWARF->Ghidra Impl DataType->Ghidra DB DataType}
workflow to be able to merge values into previous db enum datatypes.

@param diea
@return
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/dwarf/DWARFDataTypeImporter.java