public void setMenuItemName(String newMenuItemName) {
		String processedMenuItemName = processMenuItemName(newMenuItemName);
		if (processedMenuItemName.equals(menuPath[menuPath.length - 1])) {
			return;
		}
		MenuData oldData = cloneData();
		menuPath = menuPath.clone();
		menuPath[menuPath.length - 1] = processedMenuItemName;
		mnemonic = getMnemonic(newMenuItemName);
		firePropertyChanged(oldData);
	}
Sets the menu item name and the mnemonic, using the first unescaped '&amp;' found in the text
as a marker ("S&amp;ave As").
<p>
NOTE: do NOT use this method with strings that contain user-supplied text.  Instead, use
{@link #setMenuItemNamePlain(String)}, and then manually {@link #setMnemonic(Character) set}
the mnemonic.

@param newMenuItemName the new name for this menu item, with an optional '&amp;' to flag one
of the characters of the name as the new mnemonic of this item
Ghidra/Framework/Docking/src/main/java/docking/action/MenuData.java