destinationAnnotationSpans.size());
for (int i = 0; i < size; i++) {
AnnotationFS eachMatched = annotationsMatchedByRuleElementofAction.get(i);
AnnotationFS eachDestination = destinationAnnotationSpans.get(i);
Set<AnnotationFS> allAnchoredAnnotations = new TreeSet<AnnotationFS>(
new AnnotationComparator());
Set<AnnotationFS> beginAnchors = stream.getBeginAnchor(eachMatched.getBegin())
.getBeginAnchors(targetType);
Set<AnnotationFS> endAnchors = stream.getEndAnchor(eachMatched.getEnd()).getEndAnchors(
targetType);
allAnchoredAnnotations.addAll(beginAnchors);