@Override
	protected boolean isEnabledForDecompilerContext(DecompilerActionContext context) {
		ConvertConstantTask task = establishTask(context, false);
		if (task == null) {
			return false;
		}
		String convDisplay =
			getMenuDisplay(task.getValue(), task.getSize(), task.isSigned(), context.getProgram());
		if (convDisplay == null) {
			return false;
		}
		if (convDisplay.equals(context.getTokenAtCursor().getText())) {
			return false;
		}
		String menuString = getStandardLengthString(getMenuPrefix()) + convDisplay;
		getPopupMenuData().setMenuItemNamePlain(menuString);

		return true;
	}
Given the context, set up the task object that will execute the conversion.
If setupFinal toggle is false, only enough of the task is set up to complete
the isEnabled test for the action.  Otherwise the whole task is set up, ready for runTask().
If the context is not suitable for a conversion, null is returned.
@param context is the given context for the action
@param setupFinal is true if a full task setup is needed
@return the task object or null
Ghidra/Features/Decompiler/src/main/java/ghidra/app/plugin/core/decompile/actions/ConvertConstantAction.java