IntentionAction (@NotNull List<? extends IntentionAction> actions, @NonNls @NotNull String text) { for (IntentionAction action : actions) { final String s = action.getText(); if (s.equals(text)) { return action; } } return null; }