@Override
  public void notification(@NotNull String groupId,
                           @NotNull NotificationType type,
                           @Nullable String title,
                           @Nullable String subtitle,
                           @NotNull String content,
                           @Nullable Project project,
                           @NotNull String displayId,
                           @Nullable BiConsumer<Object, HyperlinkEvent> listener) {
    Notification notification = new Notification(groupId, content, com.intellij.notification.NotificationType.valueOf(type.name()))
      .setDisplayId(displayId)
      .setTitle(title, subtitle);
    if (listener != null) {
      notification.setListener((n, event) -> listener.accept(n, event));
    }
    notification.notify(project);
  }
@Override
  public void notification(@NotNull String groupId,
                           @NotNull NotificationType type,
                           @Nullable String title,
                           @Nullable String subtitle,
                           @NotNull String content,
                           @Nullable Project project,
                           @NotNull String displayId,
                           @Nullable BiConsumer<Object, HyperlinkEvent> listener)