public Map<AnnotationClass, List<Annotations>> getAllAnnotations() {
        Map<AnnotationClass, List<Annotations>> result = new HashMap<>();
        getAllAnnotations(result);
        return result;
    }
Returns all annotations that are contained in either this subspan or in any of its subannotations
container-search/src/main/java/com/yahoo/text/interpretation/Span.java