Class HCANNHelper
- java.lang.Object
-
- org.hibernate.boot.model.internal.HCANNHelper
-
-
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 member)
static String
annotatedElementSignature(org.hibernate.annotations.common.reflection.XProperty property)
Deprecated.Prefer usingannotatedElementSignature(JavaXMember)
static <T extends Annotation>
TfindAnnotation(org.hibernate.annotations.common.reflection.XAnnotatedElement annotatedElement, Class<T> annotationType)
Return an annotation of the given type which annotates the given annotated program element, or which meta-annotates an annotation of the given annotated program element.static List<Annotation>
findContainingAnnotations(org.hibernate.annotations.common.reflection.XAnnotatedElement annotatedElement, Class<? extends Annotation> annotationType)
Return an annotation of the given annotated program element which is annotated by the given type of meta-annotation.static Member
getUnderlyingMember(org.hibernate.annotations.common.reflection.java.JavaXMember member)
static Member
getUnderlyingMember(org.hibernate.annotations.common.reflection.XProperty property)
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 property)
Deprecated.Prefer usingannotatedElementSignature(JavaXMember)
-
annotatedElementSignature
public static String annotatedElementSignature(org.hibernate.annotations.common.reflection.java.JavaXMember member)
-
getUnderlyingMember
@Deprecated public static Member getUnderlyingMember(org.hibernate.annotations.common.reflection.XProperty property)
Deprecated.Prefer usinggetUnderlyingMember(JavaXMember)
-
getUnderlyingMember
public static Member getUnderlyingMember(org.hibernate.annotations.common.reflection.java.JavaXMember member)
-
findAnnotation
public static <T extends Annotation> T findAnnotation(org.hibernate.annotations.common.reflection.XAnnotatedElement annotatedElement, Class<T> annotationType)
Return an annotation of the given type which annotates the given annotated program element, or which meta-annotates an annotation of the given annotated program element.- Implementation Note:
- Searches only one level deep
-
findContainingAnnotations
public static List<Annotation> findContainingAnnotations(org.hibernate.annotations.common.reflection.XAnnotatedElement annotatedElement, Class<? extends Annotation> annotationType)
Return an annotation of the given annotated program element which is annotated by the given type of meta-annotation.- Implementation Note:
- Searches only one level deep
-
-