private String getMenuPrefix(LocationDescriptor descriptor) {
		String menuName = "Show References to ";
		if (descriptor == null) {
			return menuName;
		}

		if (descriptor instanceof DataTypeLocationDescriptor) {
			menuName = "Find Uses of ";
		}

		if (descriptor instanceof StructureMemberLocationDescriptor) {
			menuName = "Find References to ";
		}

		return menuName;
	}
{@link LocationReferencesPlugin}'s action for finding references to a thing.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/navigation/locationreferences/FindReferencesToAction.java