private void updateMenuName(LocationDescriptor descriptor) {

		String menuName = getMenuPrefix(descriptor);
		if (descriptor != null) {
			String itemName = descriptor.getTypeName();
			menuName += itemName;
		}

		setPopupMenuData(
			new MenuData(new String[] { LocationReferencesService.MENU_GROUP, menuName }, null,
				"ShowReferencesTo", MenuData.NO_MNEMONIC, Integer.toString(subGroupPosition)));
	}
{@link LocationReferencesPlugin}'s action for finding references to a thing.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/navigation/locationreferences/FindReferencesToAction.java