void (@NotNull List<HighlightInfo.IntentionActionDescriptor> descriptors, @Nullable PsiFile psiFile, IntentionActionFilter @NotNull [] filters) { for (Iterator<HighlightInfo.IntentionActionDescriptor> it = descriptors.iterator(); it.hasNext(); ) { HighlightInfo.IntentionActionDescriptor actionDescriptor = it.next(); for (IntentionActionFilter filter : filters) { if (!filter.accept(actionDescriptor.getAction(), psiFile)) { it.remove(); break; } } } }