void (@Nullable Project project, @NotNull Notification notification, @NotNull AnAction action, @NotNull NotificationPlace notificationPlace) { List<EventPair<?>> data = createNotificationData(notification.getGroupId(), notification.id, notification.getDisplayId()); data.add(NOTIFICATION_PLACE.with(notificationPlace)); if (action instanceof NotificationAction.Simple) { Object actionInstance = ((NotificationAction.Simple)action).getDelegate(); PluginInfo info = PluginInfoDetectorKt.getPluginInfo(actionInstance.getClass()); String actionId = info.isSafeToReport() ? actionInstance.getClass().getName() : ActionsCollectorImpl.DEFAULT_ID; data.add(ActionsEventLogGroup.ACTION_ID.with(actionId)); } else { ActionsCollectorImpl.addActionClass(data, action, PluginInfoDetectorKt.getPluginInfo(action.getClass())); } ACTION_INVOKED.log(project, data); }