private static String exportInnerImportsFromSuperTypes(NewDocumentType docType, String packageName) {
        StringBuilder ret = new StringBuilder();
        for (NewDocumentType inherited : docType.getInherited()) {
            if (inherited.getName().equals("document")) continue;
            ret.append("import ").append(packageName).append(".").append(className(inherited.getName())).append(".*;\n");
        }
        return ret.toString();
    }
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