void (@NotNull AnActionEvent e) { new Task.Backgroundable(e.getProject(), IdeBundle.message("old.dirs.action.progress")) { @Override public void run(@NotNull ProgressIndicator indicator) { new OldDirectoryCleaner(0).seekAndDestroy(e.getProject(), indicator); } }.queue(); }