String (String intentionName, IntentionAction action) { IntentionAction actual = IntentionActionDelegate.unwrap(action); ModCommandAction command = action.asModCommandAction(); String family = actual.getFamilyName(); Class<?> aClass = command != null ? command.getClass() : actual.getClass(); LocalQuickFix fix = QuickFixWrapper.unwrap(actual); if (fix != null) { family = fix.getFamilyName(); aClass = fix.getClass(); } return "'" + intentionName + "' (family: '" + family + "'; class: '" + aClass.getName() + "')"; }