private boolean expandAnnotationsContaining(@NotNull ProjectionAnnotationModel projectionAnnotationModel, int offset) {
        Iterator<Annotation> it = projectionAnnotationModel.getAnnotationIterator(offset, 0, true, true);
        
        boolean expanded = false;
        while (it.hasNext()) {
            Annotation annotation = it.next();
            if (annotation instanceof ProjectionAnnotation p && p.isCollapsed()) {
                Position position = projectionAnnotationModel.getPosition(annotation);
                if (position != null && position.includes(offset)) {
                    expanded = true;
                    projectionAnnotationModel.expand(annotation);
                }
            }
        }
        return expanded;
    }
Creates an instance of this class with the given parameters.

@param parent the SWT parent control
@param ruler the vertical ruler (annotation area)
@param overviewRuler the overview ruler
@param showsAnnotationOverview <code>true</code> if the overview ruler should be shown
@param styles the SWT style bits
plugins/org.jkiss.dbeaver.ui.editors.sql/src/org/jkiss/dbeaver/ui/editors/sql/SQLEditorSourceViewer.java