void (@NotNull final String message, @NotNull final MessageType type, @Nullable final HyperlinkListener listener) { Notification notification = XDebuggerManagerImpl.getNotificationGroup().createNotification(message, type.toNotificationType()); if (listener != null) { notification.setListener((__, event) -> { if (event.getEventType() == HyperlinkEvent.EventType.ACTIVATED) { listener.hyperlinkUpdate(event); } }); } notification.notify(myProject); }