List<IntentionAction> (Collection<String> languageIds) { if (myIntentionsDisabled) { return Collections.emptyList(); } checkForDuplicates(); List<IntentionAction> list = new ArrayList<>(); IntentionManagerSettings settings = IntentionManagerSettings.getInstance(); for (IntentionAction action : myActions) { if (isLanguageSupported(languageIds, action) && settings.isEnabled(action)) { list.add(action); } } return list; }