if (typeSystem.subsumes(jcas.getCasType(FSArray.type), range)) {
structure.setFeatureValue(targetFeature, UIMAUtils.toFSArray(jcas, textsMatched));
} else {
int begin = textsMatched.get(0).getBegin();
int end = textsMatched.get(textsMatched.size() - 1).getEnd();
RutaFrame frame = new RutaFrame(jcas, begin, end);
FSIterator<Annotation> iterator = jcas.getAnnotationIndex(range).iterator(frame);
AnnotationFS newA = null;
while (iterator.isValid()) {
Annotation a = iterator.get();
if (a.getBegin() == begin && a.getEnd() == end