void (@NotNull Project project, @Nullable PackageManagementService service, EventId1<String> event) { String serviceName = toKnownServiceName(service); if (serviceName != null) { event.log(project, serviceName); } }