void (@NotNull HyperlinkEvent e) { final Runnable handler = myLinkHandlers.get(e.getDescription()); if (handler != null) { handler.run(); } else if (myErrorTitle != null && myErrorDescription != null) { showErrorFunction.accept(myErrorTitle, myErrorDescription); } }