LocalQuickFix () { return new PsiUpdateModCommandQuickFix() { @Nls @NotNull @Override public String getFamilyName() { return JavaBundle.message("quickfix.family.remove.redundant.parameter"); } @Override protected void applyFix(@NotNull Project project, @NotNull PsiElement element, @NotNull ModPsiUpdater updater) { element.getParent().delete(); } }; }