void (@NotNull AnalysisScope scope, @NotNull Notification notification, @NotNull Runnable analysisRepeater) { notification.addAction(new NotificationAction(InspectionsBundle.message("inspection.no.problems.repeat.with.tests")) { @Override public void actionPerformed(@NotNull AnActionEvent e, @NotNull Notification notification) { notification.expire(); scope.invalidate(); scope.setIncludeTestSource(true); analysisRepeater.run(); } }); }