Class AnnotationDescriptorRegistryStandard
java.lang.Object
org.hibernate.models.internal.AbstractAnnotationDescriptorRegistry
org.hibernate.models.internal.AnnotationDescriptorRegistryStandard
- All Implemented Interfaces:
MutableAnnotationDescriptorRegistry, AnnotationDescriptorRegistry
public class AnnotationDescriptorRegistryStandard
extends AbstractAnnotationDescriptorRegistry
implements MutableAnnotationDescriptorRegistry
Access to AnnotationDescriptor instances based on a number of look-ups
-
Nested Class Summary
Nested classes/interfaces inherited from interface AnnotationDescriptorRegistry
AnnotationDescriptorRegistry.DescriptorCreator<A> -
Field Summary
Fields inherited from class AbstractAnnotationDescriptorRegistry
descriptorMap, repeatableByContainerMap -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected <A extends Annotation>
AnnotationDescriptor<A> buildAnnotationDescriptor(Class<A> javaType, AnnotationDescriptor<? extends Annotation> containerDescriptor) <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 AbstractAnnotationDescriptorRegistry
descriptorMap, getContainedRepeatableDescriptor, getContainedRepeatableDescriptor, getDescriptorMap, getRepeatableByContainerMapMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AnnotationDescriptorRegistry
getContainedRepeatableDescriptor, getContainedRepeatableDescriptor
-
Constructor Details
-
AnnotationDescriptorRegistryStandard
-
-
Method Details
-
register
- Specified by:
registerin interfaceMutableAnnotationDescriptorRegistry
-
getDescriptor
Description copied from interface:AnnotationDescriptorRegistryGet the descriptor for the given annotationtype, creating one if needed.- Specified by:
getDescriptorin interfaceAnnotationDescriptorRegistry
-
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.- Specified by:
resolveDescriptorin interfaceAnnotationDescriptorRegistry
-
buildAnnotationDescriptor
protected <A extends Annotation> AnnotationDescriptor<A> buildAnnotationDescriptor(Class<A> javaType, AnnotationDescriptor<? extends Annotation> containerDescriptor)
-