void (@NotNull HyperlinkEvent e) { final URL url = e.getURL(); final AWTEvent awtEvent = EventQueue.getCurrentEvent(); if (!(awtEvent instanceof MouseEvent me)) { return; } if (url != null) { ConfigurationError error = null; Element element = e.getSourceElement(); while (element != null) { if ("li".equals(element.getName())) { final Element ol = element.getParentElement(); for (int i = 0; i < ol.getElementCount(); i++) { if (ol.getElement(i) == element) { error = getError(i, myShownErrorsStamp); } } break; } element = element.getParentElement(); } if (error == null) return; final String host = url.getHost(); String path = url.getPath(); if (path != null && path.startsWith("/")) { path = StringUtil.unescapeXmlEntities(path.substring(1)); } if (path != null) { if ("fix".equals(host)) { final MouseEvent mouseEvent = new MouseEvent(me.getComponent(), me.getID(), me.getWhen(), me.getModifiers(), me.getX() - 15, me.getY() + 10, me.getClickCount(), me.isPopupTrigger()); error.fix(myContent, new RelativePoint(mouseEvent)); } else { error.navigate(); } } } }