Class SpecializedAnnotationDescriptor<A extends Annotation,C extends A>

java.lang.Object
org.hibernate.models.internal.AbstractAnnotationTarget
org.hibernate.models.internal.AbstractAnnotationDescriptor<A>
org.hibernate.models.internal.OrmAnnotationDescriptor<A,C>
org.hibernate.boot.models.annotations.internal.SpecializedAnnotationDescriptor<A,C>
All Implemented Interfaces:
org.hibernate.models.internal.AnnotationTargetSupport, org.hibernate.models.serial.spi.Storable<org.hibernate.models.spi.AnnotationDescriptor<A>,org.hibernate.models.serial.spi.SerialAnnotationDescriptor<A>>, org.hibernate.models.spi.AnnotationDescriptor<A>, org.hibernate.models.spi.AnnotationTarget, org.hibernate.models.spi.MutableAnnotationDescriptor<A,C>, org.hibernate.models.spi.MutableAnnotationTarget

public class SpecializedAnnotationDescriptor<A extends Annotation,C extends A> extends org.hibernate.models.internal.OrmAnnotationDescriptor<A,C>
Much the same as OrmAnnotationDescriptor except for special cases where we do care about annotations on the annotation type
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.hibernate.models.internal.OrmAnnotationDescriptor

    org.hibernate.models.internal.OrmAnnotationDescriptor.DeTypedCreator<A extends Annotation,C extends A>, org.hibernate.models.internal.OrmAnnotationDescriptor.DynamicCreator<A extends Annotation,C extends A>, org.hibernate.models.internal.OrmAnnotationDescriptor.JdkCreator<A extends Annotation,C extends A>

    Nested classes/interfaces inherited from interface org.hibernate.models.spi.AnnotationTarget

    org.hibernate.models.spi.AnnotationTarget.AnnotationUsageProcessor<T extends Object,A extends Annotation>, org.hibernate.models.spi.AnnotationTarget.Kind
  • Constructor Summary

    Constructors
    Constructor
    Description
    SpecializedAnnotationDescriptor(Class<A> annotationType, Class<C> concreteType)
     
    SpecializedAnnotationDescriptor(Class<A> annotationType, Class<C> concreteType, org.hibernate.models.spi.AnnotationDescriptor<? extends Annotation> container)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Map<Class<? extends Annotation>,? extends Annotation>
     

    Methods inherited from class org.hibernate.models.internal.OrmAnnotationDescriptor

    createUsage, createUsage, createUsage, getAttributes, getMutableAnnotationType, toString

    Methods inherited from class org.hibernate.models.internal.AbstractAnnotationDescriptor

    asAnnotationDescriptor, asClassDetails, asFieldDetails, asMemberDetails, asMethodDetails, asRecordComponentDetails, getAllowableTargets, getAnnotationType, getDirectAnnotationUsages, getName, getRepeatableContainer, getRepeatedAnnotationUsages, getRepeatedAnnotationUsages, isInherited

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.hibernate.models.spi.AnnotationDescriptor

    as, asAnnotationDescriptor, asClassDetails, asFieldDetails, asMemberDetails, asMethodDetails, asRecordComponentDetails, findAttribute, getAllowableTargets, getAnnotationType, getAttribute, getContainer, getKind, getRepeatableContainer, isInherited, isRepeatable, toStorableForm

    Methods inherited from interface org.hibernate.models.spi.AnnotationTarget

    forEachAnnotationUsage, forEachAnnotationUsage, forEachDirectAnnotationUsage, fromAnnotations, fromContainers, fromSelfAndContainers, getName, getNamedAnnotationUsage, getRepeatedAnnotationUsages, walkContainers, walkSelfAndContainers

    Methods inherited from interface org.hibernate.models.internal.AnnotationTargetSupport

    addAnnotationUsage, clearAnnotationUsages, forEachRepeatedAnnotationUsages, forEachRepeatedAnnotationUsages, getAnnotationUsage, getAnnotationUsage, getDirectAnnotationUsage, getDirectAnnotationUsage, getMetaAnnotated, getNamedAnnotationUsage, getNamedAnnotationUsage, getNamedAnnotationUsage, hasAnnotationUsage, hasDirectAnnotationUsage, locateAnnotationUsage, removeAnnotationUsage, replaceAnnotationUsage

    Methods inherited from interface org.hibernate.models.spi.MutableAnnotationTarget

    applyAnnotationUsage, replaceAnnotationUsage
  • Constructor Details

    • SpecializedAnnotationDescriptor

      public SpecializedAnnotationDescriptor(Class<A> annotationType, Class<C> concreteType)
    • SpecializedAnnotationDescriptor

      public SpecializedAnnotationDescriptor(Class<A> annotationType, Class<C> concreteType, org.hibernate.models.spi.AnnotationDescriptor<? extends Annotation> container)
  • Method Details

    • getUsageMap

      public Map<Class<? extends Annotation>,? extends Annotation> getUsageMap()
      Specified by:
      getUsageMap in interface org.hibernate.models.internal.AnnotationTargetSupport
      Overrides:
      getUsageMap in class org.hibernate.models.internal.OrmAnnotationDescriptor<A extends Annotation,C extends A>