List<IntentionActionWithTextCaching> () { List<IntentionActionWithTextCaching> result = new ArrayList<>(myErrorFixes); result.addAll(myInspectionFixes); for (IntentionActionWithTextCaching intention : myIntentions) { if (!myErrorFixes.contains(intention) && !myInspectionFixes.contains(intention)) { result.add(intention); } } result.addAll(myGutters); result.addAll(myNotifications); result = DumbService.getInstance(myProject).filterByDumbAwareness(result); Language language = PsiUtilCore.getLanguageAtOffset(getFile(), getOffset()); IntentionsOrderProvider intentionsOrder = IntentionsOrderProvider.EXTENSION.forLanguage(language); return intentionsOrder.getSortedIntentions(this, result); }