Class HCANNHelper
java.lang.Object
org.hibernate.boot.model.internal.HCANNHelper
Manage the various fun-ness of dealing with HCANN...
- Author:
- Steve Ebersole
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringannotatedElementSignature(JavaXMember member) static StringannotatedElementSignature(XProperty property) Deprecated.static <T extends Annotation>
TfindAnnotation(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(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 MembergetUnderlyingMember(JavaXMember member) static MembergetUnderlyingMember(XProperty property) Deprecated.Prefer usinggetUnderlyingMember(JavaXMember)static booleanhasAnnotation(AnnotatedElement element, Class<? extends Annotation> annotationToCheck) static booleanhasAnnotation(AnnotatedElement element, Class<? extends Annotation> annotationToCheck, Class<? extends Annotation> annotationToCheck2) static booleanhasAnnotation(XAnnotatedElement element, Class<? extends Annotation> annotationToCheck) static booleanhasAnnotation(XAnnotatedElement element, Class<? extends Annotation>... annotationsToCheck) static booleanhasAnnotation(XAnnotatedElement element, Class<? extends Annotation> annotationToCheck, Class<? extends Annotation> annotationToCheck2)
-
Constructor Details
-
HCANNHelper
public HCANNHelper()
-
-
Method Details
-
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(XAnnotatedElement element, Class<? extends Annotation> annotationToCheck) -
hasAnnotation
public static boolean hasAnnotation(XAnnotatedElement element, Class<? extends Annotation> annotationToCheck, Class<? extends Annotation> annotationToCheck2) -
hasAnnotation
public static boolean hasAnnotation(XAnnotatedElement element, Class<? extends Annotation>... annotationsToCheck) -
annotatedElementSignature
Deprecated.Prefer usingannotatedElementSignature(JavaXMember) -
annotatedElementSignature
-
getUnderlyingMember
Deprecated.Prefer usinggetUnderlyingMember(JavaXMember) -
getUnderlyingMember
-
findAnnotation
public static <T extends Annotation> T findAnnotation(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. -
findContainingAnnotations
public static List<Annotation> findContainingAnnotations(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.
-
annotatedElementSignature(JavaXMember)