Class HCANNHelper
- java.lang.Object
-
- org.hibernate.boot.model.internal.HCANNHelper
-
public final class HCANNHelper extends Object
Manage the various fun-ness of dealing with HCANN...
-
-
Constructor Summary
Constructors Constructor Description HCANNHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static String
annotatedElementSignature(org.hibernate.annotations.common.reflection.java.JavaXMember jxProperty)
static String
annotatedElementSignature(org.hibernate.annotations.common.reflection.XProperty xProperty)
Deprecated.Prefer usingannotatedElementSignature(JavaXMember)
static <T extends Annotation>
TfindAnnotation(org.hibernate.annotations.common.reflection.XAnnotatedElement xAnnotatedElement, Class<T> annotationType)
Locate an annotation on an annotated member, allowing for composed annotations (meta-annotations).static <A extends Annotation,T extends Annotation>
AfindContainingAnnotation(org.hibernate.annotations.common.reflection.XAnnotatedElement xAnnotatedElement, Class<T> annotationType)
Locate the annotation, relative to `xAnnotatedElement`, which contains the passed type of annotation.static Member
getUnderlyingMember(org.hibernate.annotations.common.reflection.java.JavaXMember jxProperty)
static Member
getUnderlyingMember(org.hibernate.annotations.common.reflection.XProperty xProperty)
Deprecated.Prefer usinggetUnderlyingMember(JavaXMember)
static boolean
hasAnnotation(AnnotatedElement element, Class<? extends Annotation> annotationToCheck)
static boolean
hasAnnotation(AnnotatedElement element, Class<? extends Annotation> annotationToCheck, Class<? extends Annotation> annotationToCheck2)
static boolean
hasAnnotation(org.hibernate.annotations.common.reflection.XAnnotatedElement element, Class<? extends Annotation> annotationToCheck)
static boolean
hasAnnotation(org.hibernate.annotations.common.reflection.XAnnotatedElement element, Class<? extends Annotation>... annotationsToCheck)
static boolean
hasAnnotation(org.hibernate.annotations.common.reflection.XAnnotatedElement element, Class<? extends Annotation> annotationToCheck, Class<? extends Annotation> annotationToCheck2)
-
-
-
Method Detail
-
hasAnnotation
public static boolean hasAnnotation(AnnotatedElement element, Class<? extends Annotation> annotationToCheck)
-
hasAnnotation
public static boolean hasAnnotation(AnnotatedElement element, Class<? extends Annotation> annotationToCheck, Class<? extends Annotation> annotationToCheck2)
-
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
@Deprecated public static String annotatedElementSignature(org.hibernate.annotations.common.reflection.XProperty xProperty)
Deprecated.Prefer usingannotatedElementSignature(JavaXMember)
-
annotatedElementSignature
public static String annotatedElementSignature(org.hibernate.annotations.common.reflection.java.JavaXMember jxProperty)
-
getUnderlyingMember
@Deprecated public static Member getUnderlyingMember(org.hibernate.annotations.common.reflection.XProperty xProperty)
Deprecated.Prefer usinggetUnderlyingMember(JavaXMember)
-
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.
-
-