void (@NotNull Notification notification, @NotNull HyperlinkEvent e) { var url = e.getURL(); if (url != null) { try { openFile(Path.of(url.toURI())); } catch (InvalidPathException | URISyntaxException ex) { LOG.warn("invalid URL: " + url, ex); } } notification.hideBalloon(); }