Class OrmAnnotationHelper
java.lang.Object
org.hibernate.boot.models.internal.OrmAnnotationHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<Annotation>
extractAnnotationTypeAnnotations
(Class<? extends Annotation> annotationType) static <V,
A extends Annotation>
VextractJdkValue
(A jdkAnnotation, org.hibernate.models.spi.AnnotationDescriptor<A> annotationDescriptor, String attributeName, org.hibernate.models.spi.SourceModelBuildingContext modelContext) static <V,
A extends Annotation>
VextractJdkValue
(A jdkAnnotation, org.hibernate.models.spi.AttributeDescriptor<V> attributeDescriptor, org.hibernate.models.spi.SourceModelBuildingContext modelContext) static void
forEachOrmAnnotation
(Class<?> declarer, Consumer<org.hibernate.models.spi.AnnotationDescriptor<?>> consumer) static void
forEachOrmAnnotation
(Consumer<org.hibernate.models.spi.AnnotationDescriptor<?>> consumer)
-
Constructor Details
-
OrmAnnotationHelper
public OrmAnnotationHelper()
-
-
Method Details
-
forEachOrmAnnotation
public static void forEachOrmAnnotation(Consumer<org.hibernate.models.spi.AnnotationDescriptor<?>> consumer) -
forEachOrmAnnotation
-
extractJdkValue
public static <V,A extends Annotation> V extractJdkValue(A jdkAnnotation, org.hibernate.models.spi.AttributeDescriptor<V> attributeDescriptor, org.hibernate.models.spi.SourceModelBuildingContext modelContext) -
extractJdkValue
public static <V,A extends Annotation> V extractJdkValue(A jdkAnnotation, org.hibernate.models.spi.AnnotationDescriptor<A> annotationDescriptor, String attributeName, org.hibernate.models.spi.SourceModelBuildingContext modelContext) -
extractAnnotationTypeAnnotations
public static List<Annotation> extractAnnotationTypeAnnotations(Class<? extends Annotation> annotationType)
-