void (Project project) { myNotificationManager.notify("", LombokBundle.message("config.warn.annotation-processing.disabled.title"), project, (notification) -> { notification.setSuggestionType(true); notification.addAction(new NotificationAction(LombokBundle.message("notification.enable.annotation.processing")) { @Override public void actionPerformed(@NotNull AnActionEvent e, @NotNull Notification notification) { enableAnnotationProcessors(project); notification.expire(); } }); }); }