if (focus.getBegin() < window.getBegin() || focus.getEnd() > window.getEnd())
return scopeContextAnnotations;
FSIterator subiterator = jCas.getAnnotationIndex(contextType).subiterator(window);
subiterator.moveTo(focus);
subiterator.moveToNext();
if (!subiterator.isValid())
subiterator.moveTo(focus);
while (scopeContextAnnotations.size() < leftScopeSize) {
subiterator.moveToPrevious();