Package org.hibernate.models.internal
Class AnnotationDescriptorRegistryStandard
java.lang.Object
org.hibernate.models.internal.AbstractAnnotationDescriptorRegistry
org.hibernate.models.internal.AnnotationDescriptorRegistryStandard
- All Implemented Interfaces:
AnnotationDescriptorRegistry
Access to AnnotationDescriptor instances based on a number of look-ups
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.hibernate.models.spi.AnnotationDescriptorRegistry
AnnotationDescriptorRegistry.DescriptorCreator<A extends Annotation> -
Field Summary
Fields inherited from class org.hibernate.models.internal.AbstractAnnotationDescriptorRegistry
descriptorMap, repeatableByContainerMap -
Constructor Summary
ConstructorsConstructorDescriptionAnnotationDescriptorRegistryStandard(SourceModelBuildingContextImpl modelBuildingContext) -
Method Summary
Modifier and TypeMethodDescription<A extends Annotation>
AnnotationDescriptor<A>getDescriptor(Class<A> javaType) Get the descriptor for the given annotationtype, creating one if needed.voidregister(AnnotationDescriptor<?> descriptor) <A extends Annotation>
AnnotationDescriptor<A>resolveDescriptor(Class<A> javaType, AnnotationDescriptorRegistry.DescriptorCreator<A> creator) Get the descriptor for the given annotationtype, creating one via the creator if needed.Methods inherited from class org.hibernate.models.internal.AbstractAnnotationDescriptorRegistry
getContainedRepeatableDescriptor, getContainedRepeatableDescriptor
-
Constructor Details
-
AnnotationDescriptorRegistryStandard
-
-
Method Details
-
register
-
getDescriptor
Description copied from interface:AnnotationDescriptorRegistryGet the descriptor for the given annotationtype, creating one if needed. -
resolveDescriptor
public <A extends Annotation> AnnotationDescriptor<A> resolveDescriptor(Class<A> javaType, AnnotationDescriptorRegistry.DescriptorCreator<A> creator) Description copied from interface:AnnotationDescriptorRegistryGet the descriptor for the given annotationtype, creating one via the creator if needed. -
makeImmutableCopy
-