ParsedAnnotation findParsedAnnotation(String name) {
        ParsedAnnotation found = docAnnotations.get(name);
        if (found != null) return found;
        for (var parent : getResolvedInherits()) {
            var fromParent = parent.findParsedAnnotation(name);
            if (fromParent == null) continue;
            if (fromParent == found) continue;
            if (found == null) {
                found = fromParent;
            } else {
                throw new IllegalArgumentException("conflicting values for annotation " + name + " in " +this);
            }
        }
        return found;
    }
This class holds the extracted information after parsing a
"document" block in a schema (.sd) file, using simple data
structures as far as possible.  Do not put advanced logic here!
@author arnej27959
config-model/src/main/java/com/yahoo/schema/parser/ParsedDocument.java