Class HCANNHelper


  • public final class HCANNHelper
    extends Object
    Manage the various fun-ness of dealing with HCANN...
    • Constructor Detail

      • HCANNHelper

        public HCANNHelper()
    • Method Detail

      • hasAnnotation

        public static boolean hasAnnotation​(org.hibernate.annotations.common.reflection.XAnnotatedElement element,
                                            Class<? extends Annotation> annotationToCheck)
      • hasAnnotation

        public static boolean hasAnnotation​(org.hibernate.annotations.common.reflection.XAnnotatedElement element,
                                            Class<? extends Annotation> annotationToCheck,
                                            Class<? extends Annotation> annotationToCheck2)
      • hasAnnotation

        public static boolean hasAnnotation​(org.hibernate.annotations.common.reflection.XAnnotatedElement element,
                                            Class<? extends Annotation>... annotationsToCheck)
      • annotatedElementSignature

        public static String annotatedElementSignature​(org.hibernate.annotations.common.reflection.java.JavaXMember jxProperty)
      • getUnderlyingMember

        public static Member getUnderlyingMember​(org.hibernate.annotations.common.reflection.java.JavaXMember jxProperty)
      • findAnnotation

        public static <T extends Annotation> T findAnnotation​(org.hibernate.annotations.common.reflection.XAnnotatedElement xAnnotatedElement,
                                                              Class<T> annotationType)
        Locate an annotation on an annotated member, allowing for composed annotations (meta-annotations).
      • findContainingAnnotation

        public static <A extends Annotation,​T extends Annotation> A findContainingAnnotation​(org.hibernate.annotations.common.reflection.XAnnotatedElement xAnnotatedElement,
                                                                                                   Class<T> annotationType)
        Locate the annotation, relative to `xAnnotatedElement`, which contains the passed type of annotation.