程序包的使用
cn.taketoday.core.annotation
程序包
说明
Support for registering the need for reflection, resources, java
serialization and proxies at runtime.
Core support package for annotations, meta-annotations, and merged
annotations with attribute overrides.
Core support package for type introspection.
Support classes for reading annotation and class-level metadata.
-
-
类说明Abstract base class for
MergedAnnotationimplementations.@AliasForis an annotation that is used to declare aliases for annotation attributes.LinkedHashMapsubclass representing annotation attribute key-value pairs as read byAnnotationUtils,AnnotatedElementUtils, and reflection- and ASM-basedAnnotationMetadataimplementations.AnnotationAwareOrderComparatoris an extension ofOrderComparatorthat supportsOrderedinterface as well as the@Orderand@Priorityannotations, with an order value provided by anOrderedinstance overriding a statically defined annotation value (if any).Callback interface that can be used to filter specific annotation types.Callback interface used to process annotations.Provides mapping information for a single annotation (or meta-annotation) in the context of a root annotation type.A collection ofAnnotationTypeMapping.MirrorSets.MirrorSetinstances that provides details of all defined mirrors.A single set of mirror attributes.ProvidesAnnotationTypeMappinginformation for a single source annotation type.Cache created perAnnotationFilter.Internal holder used to wrap default values.Provides a quick way to access the attribute methods of anAnnotationwith consistent ordering as well as a few useful utility methods.Log facade used to handle annotation introspection failures (in particularTypeNotPresentExceptions).A single merged annotation returned from aMergedAnnotationscollection.Adaptations that can be applied to attribute values when creating Maps orAnnotationAttributes.Fluent API for configuring the search algorithm used in theMergedAnnotationsmodel and performing a search.Search strategies supported byMergedAnnotations.search(SearchStrategy)as well asMergedAnnotations.from(AnnotatedElement, SearchStrategy)and variants of that method.Strategy interface used to select between twoMergedAnnotationinstances.AnAbstractMergedAnnotationused as the implementation ofMergedAnnotation.missing().Strategy used to determine annotations that act as containers for other annotations.StandardRepeatableContainersimplementation that searches using Java's@Repeatableannotation.AMethodParametervariant which synthesizes annotations that declare attribute aliases via@AliasFor.MergedAnnotationthat adapts attributes from a root annotation by applying the mapping and mirroring rules of anAnnotationTypeMapping.AnnotationsProcessorused to detect if an annotation is directly present or meta-present.Strategy API for extracting a value for an annotation attribute from a given source object which is typically anAnnotation,Map, orTypeMappedAnnotation. -
类说明
LinkedHashMapsubclass representing annotation attribute key-value pairs as read byAnnotationUtils,AnnotatedElementUtils, and reflection- and ASM-basedAnnotationMetadataimplementations.A single merged annotation returned from aMergedAnnotationscollection. -