private void createHyperlinkControl(Composite groupLinksContainer, AnnotationHyperlinkInfo hyperlink, String text) {
            Hyperlink link = new Hyperlink(groupLinksContainer, SWT.NONE);
            link.setHref(hyperlink);
            link.setText(text);
            link.setUnderlined(true);
            link.addHyperlinkListener(this.hyperlinkListener);
            if (hyperlink.getAnnotation() instanceof SQLSemanticErrorAnnotation s) {
                String underlyingError = s.getUnderlyingErrorMessage();
                if (CommonUtils.isNotEmpty(underlyingError)) {
                    link.setToolTipText(underlyingError);
                }
            }
        }
Show info from annotations on the specified line
plugins/org.jkiss.dbeaver.ui.editors.sql/src/org/jkiss/dbeaver/ui/editors/sql/util/SQLAnnotationHover.java