public static @Nullable HyperlinkInfo getHyperlinkInfo(@NotNull RangeHighlighter range) {
    HyperlinkInfoTextAttributes attributes = range.getUserData(HYPERLINK);
    return attributes != null ? attributes.hyperlinkInfo() : null;
  }
public static @Nullable HyperlinkInfo getHyperlinkInfo(@NotNull RangeHighlighter range)