}
inheritanceAnnotation = JandexHelper.getSingleAnnotation(
info, JPADotNames.INHERITANCE
);
if ( inheritanceAnnotation != null ) {
throw new AnnotationException(
String.format(
"The inheritance type for %s must be specified on the root entity %s",
hierarchyListString( classes ),
rootClassInfo.name().toString()
)