@Nullable
        public DBIcon getIcon() {
            return switch (this.severity) {
                case IMarker.SEVERITY_ERROR -> DBIcon.SMALL_ERROR;
                case IMarker.SEVERITY_WARNING -> DBIcon.SMALL_WARNING;
                case IMarker.SEVERITY_INFO -> DBIcon.SMALL_INFO;
                default -> null;
            };
        }
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