Corollary to org.hibernate.boot.model.internal.HCANNHelper#findContainingAnnotations -
interface AnnotationTarget {
...
/**
* Returns all annotations on this target where the annotation class is annotated with `metaAnnotationType`.
*/
List<AnnotationUsage<?>> getMetaAnnotated(Class<? extends Annotation> metaAnnotationType);
}
Corollary to
org.hibernate.boot.model.internal.HCANNHelper#findContainingAnnotations
-Related with https://github.com/hibernate/hibernate-models/issues/13