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
Classes in org.hibernate.models.internal that implement AnnotationDescriptorModifier and TypeClassDescriptionclassAbstractAnnotationDescriptor<A extends Annotation>Base support forAnnotationDescriptorimplementationsclassOrmAnnotationDescriptor<A extends Annotation,C extends A> Specialized AnnotationDescriptor implementation intended for use in describing Hibernate and JPA annotations.classStandardAnnotationDescriptor<A extends Annotation>Simple implementation ofAnnotationDescriptor.Fields in org.hibernate.models.internal with type parameters of type AnnotationDescriptorModifier and TypeFieldDescriptionprotected final Map<Class<? extends Annotation>, AnnotationDescriptor<? extends Annotation>> AbstractAnnotationDescriptorRegistry.descriptorMapprotected final Map<AnnotationDescriptor<? extends Annotation>, AnnotationDescriptor<? extends Annotation>> AbstractAnnotationDescriptorRegistry.repeatableByContainerMapprotected final Map<AnnotationDescriptor<? extends Annotation>, AnnotationDescriptor<? extends Annotation>> AbstractAnnotationDescriptorRegistry.repeatableByContainerMapMethods in org.hibernate.models.internal that return AnnotationDescriptorModifier and TypeMethodDescription<X extends Annotation>
AnnotationDescriptor<X> AbstractAnnotationDescriptor.asAnnotationDescriptor()default <A extends Annotation>
AnnotationDescriptor<A> AnnotationTargetSupport.asAnnotationDescriptor()default <A extends Annotation>
AnnotationDescriptor<A> ClassDetailsSupport.asAnnotationDescriptor()protected <A extends Annotation>
AnnotationDescriptor<A> AnnotationDescriptorRegistryStandard.buildAnnotationDescriptor(Class<A> javaType, AnnotationDescriptor<? extends Annotation> containerDescriptor) <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> AnnotationDescriptorRegistryStandard.getDescriptor(Class<A> javaType) AbstractAnnotationDescriptor.getRepeatableContainer()<A extends Annotation>
AnnotationDescriptor<A> AnnotationDescriptorRegistryStandard.resolveDescriptor(Class<A> javaType, AnnotationDescriptorRegistry.DescriptorCreator<A> creator) Methods in org.hibernate.models.internal that return types with arguments of type AnnotationDescriptorModifier and TypeMethodDescriptionMap<Class<? extends Annotation>, AnnotationDescriptor<? extends Annotation>> AbstractAnnotationDescriptorRegistry.descriptorMap()Map<Class<? extends Annotation>, AnnotationDescriptor<? extends Annotation>> AbstractAnnotationDescriptorRegistry.getDescriptorMap()Map<AnnotationDescriptor<? extends Annotation>, AnnotationDescriptor<? extends Annotation>> AbstractAnnotationDescriptorRegistry.getRepeatableByContainerMap()Map<AnnotationDescriptor<? extends Annotation>, AnnotationDescriptor<? extends Annotation>> AbstractAnnotationDescriptorRegistry.getRepeatableByContainerMap()Methods in org.hibernate.models.internal with parameters of type AnnotationDescriptorModifier and TypeMethodDescriptionprotected <A extends Annotation>
AnnotationDescriptor<A> AnnotationDescriptorRegistryStandard.buildAnnotationDescriptor(Class<A> javaType, AnnotationDescriptor<? extends Annotation> containerDescriptor) static <A extends Annotation,C extends Annotation>
A[]AnnotationUsageHelper.extractRepeatedValues(C container, AnnotationDescriptor<C> containerDescriptor, ModelsContext modelContext) static <A extends Annotation>
AAnnotationUsageHelper.findUsage(AnnotationDescriptor<A> type, Map<Class<? extends Annotation>, ? extends Annotation> usageMap) default <A extends Annotation,C extends Annotation>
voidAnnotationTargetSupport.forEachRepeatedAnnotationUsages(AnnotationDescriptor<A> repeatableDescriptor, ModelsContext modelContext, Consumer<A> consumer) static <A extends Annotation>
voidAnnotationUsageHelper.forEachRepeatedAnnotationUsages(AnnotationDescriptor<A> repeatableDescriptor, Consumer<A> consumer, Map<Class<? extends Annotation>, ? extends Annotation> usageMap, ModelsContext modelContext) default <A extends Annotation>
AAnnotationTargetSupport.getAnnotationUsage(AnnotationDescriptor<A> descriptor, ModelsContext modelContext) default <A extends Annotation>
AClassDetailsSupport.getAnnotationUsage(AnnotationDescriptor<A> descriptor, ModelsContext modelContext) <A extends Annotation>
AMissingPackageInfoDetails.getAnnotationUsage(AnnotationDescriptor<A> descriptor, ModelsContext modelContext) <A extends Annotation>
ASimpleClassDetails.getAnnotationUsage(AnnotationDescriptor<A> descriptor, ModelsContext modelContext) <A extends Annotation>
AnnotationDescriptor<A> AbstractAnnotationDescriptorRegistry.getContainedRepeatableDescriptor(AnnotationDescriptor<A> containerDescriptor) default <A extends Annotation>
AAnnotationTargetSupport.getDirectAnnotationUsage(AnnotationDescriptor<A> descriptor) <A extends Annotation>
AMissingPackageInfoDetails.getDirectAnnotationUsage(AnnotationDescriptor<A> descriptor) <A extends Annotation>
ASimpleClassDetails.getDirectAnnotationUsage(AnnotationDescriptor<A> descriptor) default <X extends Annotation>
XAnnotationTargetSupport.getNamedAnnotationUsage(AnnotationDescriptor<X> type, String matchName, String attributeToMatch, ModelsContext modelContext) <X extends Annotation>
XMissingPackageInfoDetails.getNamedAnnotationUsage(AnnotationDescriptor<X> type, String matchName, String attributeToMatch, ModelsContext modelContext) <X extends Annotation>
XSimpleClassDetails.getNamedAnnotationUsage(AnnotationDescriptor<X> type, String matchName, String attributeToMatch, ModelsContext modelContext) static <A extends Annotation,C extends Annotation>
AAnnotationUsageHelper.getNamedUsage(AnnotationDescriptor<A> descriptor, String matchValue, String attributeToMatch, Map<Class<? extends Annotation>, ?> usageMap, ModelsContext modelContext) <X extends Annotation>
X[]AbstractAnnotationDescriptor.getRepeatedAnnotationUsages(AnnotationDescriptor<X> type, ModelsContext modelContext) default <A extends Annotation>
A[]AnnotationTargetSupport.getRepeatedAnnotationUsages(AnnotationDescriptor<A> type, ModelsContext modelContext) <A extends Annotation>
A[]MissingPackageInfoDetails.getRepeatedAnnotationUsages(AnnotationDescriptor<A> type, ModelsContext modelContext) <A extends Annotation>
A[]SimpleClassDetails.getRepeatedAnnotationUsages(AnnotationDescriptor<A> type, ModelsContext modelContext) static <A extends Annotation>
A[]AnnotationUsageHelper.getRepeatedUsages(AnnotationDescriptor<A> type, Map<Class<? extends Annotation>, ? extends Annotation> usageMap, ModelsContext modelContext) static <A extends Annotation,C extends Annotation>
AAnnotationUsageHelper.getUsage(AnnotationDescriptor<A> type, Map<Class<? extends Annotation>, ? extends Annotation> usageMap, ModelsContext modelContext) Get the annotation usage from theusageMapfor the giventypestatic <A extends Annotation>
AAnnotationProxy.makeProxy(AnnotationDescriptor<A> descriptor, Map<String, Object> valueMap) voidAnnotationDescriptorRegistryStandard.register(AnnotationDescriptor<?> descriptor) voidMutableAnnotationDescriptorRegistry.register(AnnotationDescriptor<?> descriptor) default <X extends Annotation>
voidAnnotationTargetSupport.removeAnnotationUsage(AnnotationDescriptor<X> annotationType) default <S extends Annotation,P extends Annotation>
PAnnotationTargetSupport.replaceAnnotationUsage(AnnotationDescriptor<S> repeatableType, AnnotationDescriptor<P> containerType, ModelsContext modelContext) Constructors in org.hibernate.models.internal with parameters of type AnnotationDescriptorModifierConstructorDescriptionAbstractAnnotationDescriptor(Class<A> annotationType, EnumSet<AnnotationTarget.Kind> allowableTargets, boolean inherited, AnnotationDescriptor<?> repeatableContainer) AnnotationProxy(AnnotationDescriptor<A> annotationDescriptor, Map<String, Object> valueMap) OrmAnnotationDescriptor(Class<A> annotationType, Class<C> concreteClass, AnnotationDescriptor<?> repeatableContainer) StandardAnnotationDescriptor(Class<A> annotationType, AnnotationDescriptor<?> repeatableContainer, ModelsContext modelsContext) Constructor parameters in org.hibernate.models.internal with type arguments of type AnnotationDescriptorModifierConstructorDescriptionAbstractAnnotationDescriptorRegistry(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 AnnotationDescriptorModifier and TypeMethodDescription<A extends Annotation>
AnnotationDescriptor<A> DynamicFieldDetails.asAnnotationDescriptor() -
Uses of AnnotationDescriptor in org.hibernate.models.internal.jdk
Methods in org.hibernate.models.internal.jdk that return AnnotationDescriptorModifier and TypeMethodDescription<A extends Annotation>
AnnotationDescriptor<A> JdkFieldDetails.asAnnotationDescriptor()<A extends Annotation>
AnnotationDescriptor<A> JdkMethodDetails.asAnnotationDescriptor()<A extends Annotation>
AnnotationDescriptor<A> JdkRecordComponentDetails.asAnnotationDescriptor()Constructors in org.hibernate.models.internal.jdk with parameters of type AnnotationDescriptor -
Uses of AnnotationDescriptor in org.hibernate.models.serial.internal
Methods in org.hibernate.models.serial.internal that return AnnotationDescriptorModifier and TypeMethodDescriptionSerialAnnotationDescriptorImpl.fromStorableForm(ModelsContext context) -
Uses of AnnotationDescriptor in org.hibernate.models.spi
Subinterfaces of AnnotationDescriptor in org.hibernate.models.spiModifier and TypeInterfaceDescriptioninterfaceMutableAnnotationDescriptor<A extends Annotation,C extends A> Methods in org.hibernate.models.spi that return AnnotationDescriptorModifier and TypeMethodDescriptiondefault <X extends Annotation>
AnnotationDescriptor<X> AnnotationDescriptor.asAnnotationDescriptor()<A extends Annotation>
AnnotationDescriptor<A> AnnotationTarget.asAnnotationDescriptor()Safe cast method for cases when the target is an annotation.default <A extends Annotation>
AnnotationDescriptor<A> ClassDetails.asAnnotationDescriptor()default <A extends Annotation>
AnnotationDescriptor<A> MemberDetails.asAnnotationDescriptor()default <A extends Annotation>
AnnotationDescriptor<A> MutableClassDetails.asAnnotationDescriptor()default <A extends Annotation>
AnnotationDescriptor<A> MutableMemberDetails.asAnnotationDescriptor()AnnotationDescriptorRegistry.DescriptorCreator.createDescriptor(Class<A> annotationType) <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>
AMutableAnnotationTarget.applyAnnotationUsage(AnnotationDescriptor<A> annotationType, ModelsContext modelContext) Applies a usage of the givenannotationTypeto this target.default <X extends Annotation>
voidAnnotationTarget.forEachAnnotationUsage(AnnotationDescriptor<X> type, ModelsContext modelContext, Consumer<X> consumer) Call theconsumerfor each usage of the giventype.default <A extends Annotation,C extends Annotation>
voidAnnotationTarget.forEachRepeatedAnnotationUsages(AnnotationDescriptor<A> repeatable, ModelsContext modelContext, Consumer<A> consumer) <A extends Annotation>
AAnnotationTarget.getAnnotationUsage(AnnotationDescriptor<A> descriptor, ModelsContext modelContext) 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.<A extends Annotation>
AAnnotationTarget.getDirectAnnotationUsage(AnnotationDescriptor<A> descriptor) Form of AnnotationTarget.getAnnotationUsage(AnnotationDescriptor, ModelsContext) which returnsnullinstead of throwing AnnotationAccessException when more than one usage of the requested annotation exists.<X extends Annotation>
XAnnotationTarget.getNamedAnnotationUsage(AnnotationDescriptor<X> type, String matchName, String attributeToMatch, ModelsContext modelContext) Get a usage of the given annotationtypewhoseattributeToMatchattribute value matches the givenmatchName.default <X extends Annotation>
XAnnotationTarget.getNamedAnnotationUsage(AnnotationDescriptor<X> type, String matchName, ModelsContext modelContext) Get a usage of the given annotationtypewhoseattributeToMatchattribute value matches the givenmatchName.<A extends Annotation>
A[]AnnotationTarget.getRepeatedAnnotationUsages(AnnotationDescriptor<A> type, ModelsContext modelContext) Get all usages of the specifiedannotationTypein this scope.<A extends Annotation>
voidRegistryPrimer.Contributions.registerAnnotation(AnnotationDescriptor<A> descriptor) Register an annotation descriptor<X extends Annotation>
voidMutableAnnotationTarget.removeAnnotationUsage(AnnotationDescriptor<X> annotationType) Remove an annotation, by type, from this target if there is such a usage.default <A extends Annotation>
AMutableAnnotationTarget.replaceAnnotationUsage(AnnotationDescriptor<A> annotationType, ModelsContext modelContext) Creates and replaces (if any) an existing usage of the given annotation.<S extends Annotation,P extends Annotation>
PMutableAnnotationTarget.replaceAnnotationUsage(AnnotationDescriptor<S> repeatableType, AnnotationDescriptor<P> containerType, ModelsContext modelContext) Creates and replaces (if any) an existing usage of the given annotation.