private static int getMnemonic(String string) {
		int indexOf;
		int fromIndex = 0;
		do {
			indexOf = string.indexOf('&', fromIndex);
			fromIndex = indexOf + 2;
		} while (indexOf >= 0 && indexOf < string.length() - 1 && string.charAt(indexOf + 1) == '&');
		if (indexOf >= 0 && indexOf < string.length() - 1) {
			return string.charAt(indexOf + 1);
		}
		return NO_MNEMONIC;
	}
Sets the menu item name, without parsing the name for mnemonics ("&amp;File").
<p>
Use this method instead of {@link #setMenuItemName(String)} when the name may have '&amp;'
characters that need to be preserved, which is typically any user supplied strings.

@param newMenuItemName the new name for this menu item
Ghidra/Framework/Docking/src/main/java/docking/action/MenuData.java