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