void (@NotNull Project project, @NotNull PsiElement element, @NotNull ModPsiUpdater updater) { RuleFixContext context = new RuleFixContext(); if (context.prepare(element, Rule::isDefault)) { context.deleteRedundantComments(); context.deleteRule(); } }