Package org.hibernate.testing.orm.junit

Class TestingUtil


  • public classTestingUtilextendsObject
    • Method Detail

      • findEffectiveAnnotation

        public static <A extendsAnnotationOptional<A> findEffectiveAnnotation​(org.junit.jupiter.api.extension.ExtensionContext context,Class<A> annotationType)
      • collectAnnotations

        public static <A extendsAnnotationCollection<A> collectAnnotations​(org.junit.jupiter.api.extension.ExtensionContext context,Class<A> annotationType,Class<? extendsAnnotation> groupAnnotationType)
      • hasEffectiveAnnotation

        public static <A extendsAnnotation> boolean hasEffectiveAnnotation​(org.junit.jupiter.api.extension.ExtensionContext context,Class<A> annotationType)
      • cast

        public static <T> T cast​(Object thing,Class<T> type)