void (Notification notification, @Nullable Project project) { TraceUtil.runWithSpanThrows(myTracer, "show notification", (Span span) -> { if(project != null) { span.setAttribute("project", project.toString()); } span.setAttribute("notification", notification.toString()); showNotificationInner(notification, project); }); }