private int showOptionDialog(Enum editedEnoom, Set<String> oldNameFields) {
		StringBuilder msg =
			new StringBuilder("<html>If you save this Enum with the <font color=\"" +
				Messages.ERROR.toHexString() + "\">new value(s)</font> listed below,<br>" +
				" it will invalidate equates created with the old value(s).<br>");
		msg.append("<ul>");
		for (String field : oldNameFields) {
			String newVal;
			try {
				newVal = "0x" + Long.toHexString(editedEnoom.getValue(field));
			}
			catch (NoSuchElementException e) {
				// Happens if a field is deleted or there is a name AND value change.
				newVal = "Missing";
			}
			msg.append(String.format(
				"<li>%s: 0x%s \u2192 <font color=\"" + Messages.ERROR.toHexString() +
					"\">%s</font></li>",
				HTMLUtilities.escapeHTML(field), Long.toHexString(originalEnum.getValue(field)),
				newVal));
		}
		msg.append("</ul>");
		msg.append(
			"Invalidated equates can be automatically removed now or<br>managed later from the" +
				" <i><b>Equates Table</i></b> window.");
		msg.append("</html>");
		int choice = OptionDialog.showOptionDialog(editorPanel, "Equate Conflicts", msg.toString(),
			"Save and remove", "Save", OptionDialog.ERROR_MESSAGE);
		return choice;
	}
Checks to see if the new changes to the enum will affect equates based off of it.
@param editedEnum the enum to check for conflicts with
@return true if the enum should save its changes; otherwise, false
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/datamgr/editor/EnumEditorProvider.java