EditorHyperlinkSupport (@NotNull Editor editor) { EditorHyperlinkSupport instance = editor.getUserData(EDITOR_HYPERLINK_SUPPORT_KEY); if (instance == null) { Project project = editor.getProject(); assert project != null; instance = new EditorHyperlinkSupport(editor, project); editor.putUserData(EDITOR_HYPERLINK_SUPPORT_KEY, instance); } return instance; }