public Set<AnnotationClass> getClasses() {
        return getClasses(from, to);
    }
Returns all AnnotationClasses that are defined for this span and any of its superspans.
container-search/src/main/java/com/yahoo/text/interpretation/Span.java