Uses of Interface
org.hibernate.models.spi.AnnotationDescriptor
Packages that use AnnotationDescriptor
Package
Description
Support for dynamic class and attribute mappings.
-
Uses of AnnotationDescriptor in org.hibernate.models.internal
Fields in org.hibernate.models.internal with type parameters of type AnnotationDescriptorModifier and TypeFieldDescriptionprotected final Map<Class<? extends Annotation>,AnnotationDescriptor<?>> AbstractAnnotationDescriptorRegistry.descriptorMapprotected final Map<AnnotationDescriptor<?>,AnnotationDescriptor<?>> AbstractAnnotationDescriptorRegistry.repeatableByContainerMapprotected final Map<AnnotationDescriptor<?>,AnnotationDescriptor<?>> AbstractAnnotationDescriptorRegistry.repeatableByContainerMapMethods in org.hibernate.models.internal that return AnnotationDescriptorModifier and TypeMethodDescriptionstatic <A extends Annotation>
AnnotationDescriptor<A>AnnotationHelper.createOrmDescriptor(Class<A> javaType) static <A extends Annotation>
AnnotationDescriptor<A>AnnotationHelper.createOrmDescriptor(Class<A> javaType, AnnotationDescriptor<?> repeatableContainer) <A extends Annotation>
AnnotationDescriptor<A>AbstractAnnotationDescriptorRegistry.getContainedRepeatableDescriptor(Class<A> containerJavaType) <A extends Annotation>
AnnotationDescriptor<A>AbstractAnnotationDescriptorRegistry.getContainedRepeatableDescriptor(AnnotationDescriptor<A> containerDescriptor) <A extends Annotation>
AnnotationDescriptor<A>AnnotationDescriptorRegistryImmutable.getDescriptor(Class<A> javaType) <A extends Annotation>
AnnotationDescriptor<A>AnnotationDescriptorRegistryStandard.getDescriptor(Class<A> javaType) <A extends Annotation>
AnnotationDescriptor<A>AnnotationDescriptorRegistryImmutable.resolveDescriptor(Class<A> javaType, AnnotationDescriptorRegistry.DescriptorCreator<A> creator) <A extends Annotation>
AnnotationDescriptor<A>AnnotationDescriptorRegistryStandard.resolveDescriptor(Class<A> javaType, AnnotationDescriptorRegistry.DescriptorCreator<A> creator) Methods in org.hibernate.models.internal with parameters of type AnnotationDescriptorModifier and TypeMethodDescriptionAbstractTypeDescriptor.createAttributeDescriptor(AnnotationDescriptor<?> annotationDescriptor, String attributeName) ArrayTypeDescriptor.createAttributeDescriptor(AnnotationDescriptor<?> annotationDescriptor, String attributeName) static <A extends Annotation>
AnnotationDescriptor<A>AnnotationHelper.createOrmDescriptor(Class<A> javaType, AnnotationDescriptor<?> repeatableContainer) static <A extends Annotation>
AnnotationUsage<A>AnnotationUsageHelper.findUsage(AnnotationDescriptor<A> type, Map<Class<? extends Annotation>, AnnotationUsage<? extends Annotation>> usageMap) default <A extends Annotation>
AnnotationUsage<A>AnnotationTargetSupport.getAnnotationUsage(AnnotationDescriptor<A> descriptor) default <A extends Annotation>
AnnotationUsage<A>ClassDetailsSupport.getAnnotationUsage(AnnotationDescriptor<A> type) <A extends Annotation>
AnnotationUsage<A>SimpleClassDetails.getAnnotationUsage(AnnotationDescriptor<A> descriptor) <A extends Annotation>
AnnotationDescriptor<A>AbstractAnnotationDescriptorRegistry.getContainedRepeatableDescriptor(AnnotationDescriptor<A> containerDescriptor) default <X extends Annotation>
AnnotationUsage<X>AnnotationTargetSupport.getNamedAnnotationUsage(AnnotationDescriptor<X> type, String matchName, String attributeToMatch) default <A extends Annotation>
AnnotationUsage<A>ClassDetailsSupport.getNamedAnnotationUsage(AnnotationDescriptor<A> type, String matchValue, String attributeToMatch) <X extends Annotation>
AnnotationUsage<X>SimpleClassDetails.getNamedAnnotationUsage(AnnotationDescriptor<X> type, String matchName, String attributeToMatch) static <A extends Annotation>
AnnotationUsage<A>AnnotationUsageHelper.getNamedUsage(AnnotationDescriptor<A> type, String matchValue, String attributeToMatch, Map<Class<? extends Annotation>, AnnotationUsage<?>> usageMap) default <A extends Annotation>
List<AnnotationUsage<A>>AnnotationTargetSupport.getRepeatedAnnotationUsages(AnnotationDescriptor<A> type) default <A extends Annotation>
List<AnnotationUsage<A>>ClassDetailsSupport.getRepeatedAnnotationUsages(AnnotationDescriptor<A> type) <A extends Annotation>
List<AnnotationUsage<A>>SimpleClassDetails.getRepeatedAnnotationUsages(AnnotationDescriptor<A> type) static <A extends Annotation>
List<AnnotationUsage<A>>AnnotationUsageHelper.getRepeatedUsages(AnnotationDescriptor<A> type, Map<Class<? extends Annotation>, AnnotationUsage<? extends Annotation>> usageMap) static <A extends Annotation>
AnnotationUsage<A>AnnotationUsageHelper.getUsage(AnnotationDescriptor<A> type, Map<Class<? extends Annotation>, AnnotationUsage<? extends Annotation>> usageMap) static <A extends Annotation>
AAnnotationProxy.makeProxy(AnnotationDescriptor<A> descriptor, Map<String, ?> valueMap) voidAnnotationDescriptorRegistryStandard.register(AnnotationDescriptor<?> descriptor) Constructors in org.hibernate.models.internal with parameters of type AnnotationDescriptorModifierConstructorDescriptionAnnotationProxy(AnnotationDescriptor<A> annotationDescriptor, Map<String, ?> valueMap) Constructor parameters in org.hibernate.models.internal with type arguments of type AnnotationDescriptorModifierConstructorDescriptionAbstractAnnotationDescriptorRegistry(Map<Class<? extends Annotation>, AnnotationDescriptor<?>> descriptorMap, Map<AnnotationDescriptor<?>, AnnotationDescriptor<?>> repeatableByContainerMap) AnnotationDescriptorRegistryImmutable(Map<Class<? extends Annotation>, AnnotationDescriptor<?>> descriptorMap, Map<AnnotationDescriptor<?>, AnnotationDescriptor<?>> repeatableByContainerMap) -
Uses of AnnotationDescriptor in org.hibernate.models.internal.dynamic
Methods in org.hibernate.models.internal.dynamic that return AnnotationDescriptorConstructors in org.hibernate.models.internal.dynamic with parameters of type AnnotationDescriptorModifierConstructorDescriptionDynamicAnnotationUsage(AnnotationDescriptor<A> annotationDescriptor, AnnotationTarget target, SourceModelContext context) DynamicAnnotationUsage(AnnotationDescriptor<A> annotationDescriptor, SourceModelContext context) -
Uses of AnnotationDescriptor in org.hibernate.models.internal.jandex
Methods in org.hibernate.models.internal.jandex that return AnnotationDescriptorMethods in org.hibernate.models.internal.jandex with parameters of type AnnotationDescriptorModifier and TypeMethodDescriptionstatic <A extends Annotation>
Map<String,?> AnnotationUsageBuilder.extractAttributeValues(org.jboss.jandex.AnnotationInstance annotationInstance, AnnotationDescriptor<A> annotationDescriptor, AnnotationTarget target, SourceModelBuildingContext buildingContext) Extracts values from an annotation creating AnnotationAttributeValue references.static <A extends Annotation>
AnnotationUsage<A>AnnotationUsageBuilder.makeUsage(org.jboss.jandex.AnnotationInstance annotation, AnnotationDescriptor<A> annotationDescriptor, AnnotationTarget target, SourceModelBuildingContext buildingContext) Constructors in org.hibernate.models.internal.jandex with parameters of type AnnotationDescriptorModifierConstructorDescriptionJandexAnnotationUsage(org.jboss.jandex.AnnotationInstance annotationInstance, AnnotationDescriptor<A> annotationDescriptor, AnnotationTarget annotationTarget, SourceModelBuildingContext processingContext) NestedValueExtractor(AnnotationDescriptor<A> descriptor) NestedValueWrapper(AnnotationDescriptor<A> descriptor) -
Uses of AnnotationDescriptor in org.hibernate.models.internal.jdk
Classes in org.hibernate.models.internal.jdk that implement AnnotationDescriptorModifier and TypeClassDescriptionclassAnnotationDescriptorImpl<A extends Annotation>AnnotationDescriptor built from the Annotation's Class referenceclassAnnotationDescriptorOrmImpl<A extends Annotation>AnnotationDescriptor for cases where we do not want to deal with ANNOTATION_TYPE annotations, most notably, Jakarta and Hibernate annotationsMethods in org.hibernate.models.internal.jdk that return AnnotationDescriptorModifier and TypeMethodDescriptionJdkAnnotationUsage.getAnnotationDescriptor()AnnotationDescriptorImpl.getRepeatableContainer()AnnotationDescriptorOrmImpl.getRepeatableContainer()static <A extends Annotation,C extends Annotation>
AnnotationDescriptor<C>JdkBuilders.resolveRepeatableContainerDescriptor(Class<A> annotationType, AnnotationDescriptorRegistry descriptorRegistry) Methods in org.hibernate.models.internal.jdk with parameters of type AnnotationDescriptorModifier and TypeMethodDescriptionstatic <A extends Annotation>
AnnotationDescriptorOrmImpl<A>JdkBuilders.buildAnnotationDescriptor(Class<A> annotationType, AnnotationDescriptor<?> repeatableContainer) static <A extends Annotation>
List<AttributeDescriptor<?>>JdkBuilders.extractAttributeDescriptors(AnnotationDescriptor<A> annotationDescriptor, Class<A> annotationType) static <A extends Annotation>
Map<String,?> AnnotationUsageBuilder.extractAttributeValues(A annotation, AnnotationDescriptor<A> annotationDescriptor, AnnotationTarget target, SourceModelBuildingContext buildingContext) Extracts values from an annotation<X extends Annotation>
voidAnnotationDescriptorOrmImpl.forEachAnnotationUsage(AnnotationDescriptor<X> type, Consumer<AnnotationUsage<X>> consumer) <X extends Annotation>
AnnotationUsage<X>AnnotationDescriptorOrmImpl.getAnnotationUsage(AnnotationDescriptor<X> descriptor) <X extends Annotation>
AnnotationUsage<X>AnnotationDescriptorOrmImpl.getNamedAnnotationUsage(AnnotationDescriptor<X> type, String matchName, String attributeToMatch) <X extends Annotation>
List<AnnotationUsage<X>>AnnotationDescriptorOrmImpl.getRepeatedAnnotationUsages(AnnotationDescriptor<X> type) static <A extends Annotation>
AnnotationUsage<A>AnnotationUsageBuilder.makeUsage(A annotation, AnnotationDescriptor<A> annotationDescriptor, AnnotationTarget target, SourceModelBuildingContext buildingContext) Constructors in org.hibernate.models.internal.jdk with parameters of type AnnotationDescriptorModifierConstructorDescriptionAnnotationDescriptorImpl(Class<A> annotationType, AnnotationDescriptor<?> repeatableContainer, SourceModelBuildingContext context) AnnotationDescriptorOrmImpl(Class<A> annotationType, AnnotationDescriptor<?> repeatableContainer) JdkAnnotationUsage(A annotation, AnnotationDescriptor<A> annotationDescriptor, AnnotationTarget location, SourceModelBuildingContext buildingContext) NestedValueWrapper(AnnotationDescriptor<A> descriptor) -
Uses of AnnotationDescriptor in org.hibernate.models.spi
Methods in org.hibernate.models.spi that return AnnotationDescriptorModifier and TypeMethodDescriptionAnnotationDescriptorRegistry.DescriptorCreator.createDescriptor(Class<A> annotationType) AnnotationUsage.getAnnotationDescriptor()Descriptor for the type of the used annotation<A extends Annotation>
AnnotationDescriptor<A>AnnotationDescriptorRegistry.getContainedRepeatableDescriptor(Class<A> javaType) Shorthand forgetRepeatableDescriptor( getDescriptor( javaType ) )<A extends Annotation>
AnnotationDescriptor<A>AnnotationDescriptorRegistry.getContainedRepeatableDescriptor(AnnotationDescriptor<A> descriptor) Assuming thedescriptoris a repeatable container, return the descriptor of the annotation for which it acts as a container.<A extends Annotation>
AnnotationDescriptor<A>AnnotationDescriptorRegistry.getDescriptor(Class<A> javaType) Get the descriptor for the given annotationtype, creating one if needed.AnnotationDescriptor.getRepeatableContainer()If the described annotation is repeatable, returns the descriptor for the container annotation.<A extends Annotation>
AnnotationDescriptor<A>AnnotationDescriptorRegistry.resolveDescriptor(Class<A> javaType, AnnotationDescriptorRegistry.DescriptorCreator<A> creator) Get the descriptor for the given annotationtype, creating one via the creator if needed.Methods in org.hibernate.models.spi with parameters of type AnnotationDescriptorModifier and TypeMethodDescriptiondefault <A extends Annotation>
MutableAnnotationUsage<A>MutableAnnotationTarget.applyAnnotationUsage(AnnotationDescriptor<A> annotationType, Consumer<MutableAnnotationUsage<A>> configuration, SourceModelBuildingContext buildingContext) Applies a usage of the givenannotationTypeto this target, allowing for configuration of the applied usage.default <A extends Annotation>
MutableAnnotationUsage<A>MutableAnnotationTarget.applyAnnotationUsage(AnnotationDescriptor<A> annotationType, SourceModelBuildingContext buildingContext) Applies a usage of the givenannotationTypeto this target.ValueTypeDescriptor.createAttributeDescriptor(AnnotationDescriptor<?> annotationDescriptor, String attributeName) Factory for creating typed AttributeDescriptor referencesdefault <X extends Annotation>
voidAnnotationTarget.forEachAnnotationUsage(AnnotationDescriptor<X> type, Consumer<AnnotationUsage<X>> consumer) default <A extends Annotation>
voidSharedAnnotationScope.forEachAnnotationUsage(AnnotationDescriptor<A> annotationDescriptor, Consumer<AnnotationUsage<A>> consumer) default <A extends Annotation>
List<AnnotationUsage<A>>SharedAnnotationScope.getAllAnnotationUsages(AnnotationDescriptor<A> annotationDescriptor) <A extends Annotation>
AnnotationUsage<A>AnnotationTarget.getAnnotationUsage(AnnotationDescriptor<A> descriptor) Get the usage of the given annotation on this target.<A extends Annotation>
AnnotationDescriptor<A>AnnotationDescriptorRegistry.getContainedRepeatableDescriptor(AnnotationDescriptor<A> descriptor) Assuming thedescriptoris a repeatable container, return the descriptor of the annotation for which it acts as a container.default <A extends Annotation>
AnnotationUsage<A>SharedNamedAnnotationScope.getNamedAnnotation(AnnotationDescriptor<A> annotationDescriptor, String matchName, String attributeToMatch) Get a usage of the givenannotationDescriptorwhoseattributeToMatchattribute value matches the givenmatchName.default <X extends Annotation>
AnnotationUsage<X>SharedNamedAnnotationScope.getNamedAnnotation(AnnotationDescriptor<X> annotationDescriptor, String matchName) Get a usage of the given annotationannotationDescriptorwhoseattributeToMatchattribute value matches the givenmatchName.default <X extends Annotation>
AnnotationUsage<X>AnnotationTarget.getNamedAnnotationUsage(AnnotationDescriptor<X> type, String matchName) Get a usage of the given annotationtypewhoseattributeToMatchattribute value matches the givenmatchName.<X extends Annotation>
AnnotationUsage<X>AnnotationTarget.getNamedAnnotationUsage(AnnotationDescriptor<X> type, String matchName, String attributeToMatch) Get a usage of the given annotationtypewhoseattributeToMatchattribute value matches the givenmatchName.<A extends Annotation>
List<AnnotationUsage<A>>AnnotationTarget.getRepeatedAnnotationUsages(AnnotationDescriptor<A> type) Get all usages of the specifiedannotationTypein this scope.default <A extends Annotation>
AnnotationUsage<A>AnnotationTarget.getSingleAnnotationUsage(AnnotationDescriptor<A> descriptor) Form of AnnotationTarget.getAnnotationUsage(AnnotationDescriptor) which returnsnullinstead of throwing AnnotationAccessException when more than one usage of the requested annotation exists.<A extends Annotation>
voidRegistryPrimer.Contributions.registerAnnotation(AnnotationDescriptor<A> descriptor) Register an annotation descriptor