void (@NotNull EditorMouseEvent e) { if (e.getArea() != EditorMouseEventArea.EDITING_AREA) return; HyperlinkInfo info = getHyperlinkInfoByEvent(e); myEditor.setCustomCursor(EditorHyperlinkSupport.class, info == null ? null : Cursor.getPredefinedCursor(Cursor.HAND_CURSOR)); }