boolean (@NotNull List<HighlightInfo.IntentionActionDescriptor> actionDescriptors, @NotNull PsiFile file) { for (HighlightInfo.IntentionActionDescriptor descriptor : actionDescriptors) { if (descriptor.canCleanup(file)) { IntentionManager manager = IntentionManager.getInstance(); actionDescriptors.add(new HighlightInfo.IntentionActionDescriptor(manager.createCleanupAllIntention(), manager.getCleanupIntentionOptions(), InspectionsBundle.message("action.description.code.cleanup.options"), null, null, null, null)); return true; } } return false; }