String () { ModCommandAction modCommandAction = getAction().asModCommandAction(); LocalQuickFix fix = QuickFixWrapper.unwrap(getAction()); if (fix != null) { modCommandAction = ModCommandService.getInstance().unwrap(fix); } Object action = modCommandAction != null ? modCommandAction : fix != null ? fix : IntentionActionDelegate.unwrap(getAction()); String name = action instanceof CommonIntentionAction intentionAction ? intentionAction.getFamilyName() : ((LocalQuickFix)action).getFamilyName(); return "IntentionActionDescriptor: " + name + " (" + action.getClass() + ")"; }