@Override
	protected boolean isEnabledForDecompilerContext(DecompilerActionContext context) {
		Function function = getFunction(context);
		if (function != null && !(function instanceof UndefinedFunction)) {
			updateMenuName(function.getName());
			return true;
		}
		ClangToken token = context.getTokenAtCursor();
		if (token == null) {
			return false;
		}
		HighSymbol highSymbol = token.getHighSymbol(context.getHighFunction());

		if (highSymbol == null || highSymbol.getStorage().isBadStorage() ||
			!highSymbol.isGlobal()) {
			return false;
		}
		updateMenuName(highSymbol.getName());
		return true;
	}
An action to show all references to the {@link HighSymbol} under the cursor in the Decompiler.
A HighSymbol is a symbol recovered by the decompiler during decompilation and is generally 
distinct from a {@link Symbol} stored in the Ghidra database (for more details see the
"HighSymbol" entry in the "Decompiler Concepts" section of the Ghidra help).  For this action
to be enabled, the HighSymbol must represent a function or global variable (not a local variable 
or a parameter)
Ghidra/Features/Decompiler/src/main/java/ghidra/app/plugin/core/decompile/actions/FindReferencesToHighSymbolAction.java