private String getParentAnnotationType(AnnotationType annType) {
        if (annType.getInheritedTypes().isEmpty()) return "com.yahoo.document.annotation.Annotation";
        String superType = annType.getInheritedTypes().iterator().next().getName();
        String providedSuperType = provided(superType);
        if (providedSuperType!=null) return providedSuperType;
        return className(annType.getInheritedTypes().iterator().next().getName());
    }
Handle the case of an annotation reference with a type that is user provided, we need to know the class name then
vespa-documentgen-plugin/src/main/java/com/yahoo/vespa/DocumentGenMojo.java