Uses of Class
tools.jackson.databind.introspect.AnnotationMap
Packages that use AnnotationMap
Package
Description
Functionality needed for Bean introspection, required for detecting
accessors and mutators for Beans, as well as locating and handling
method annotations.
-
Uses of AnnotationMap in tools.jackson.databind.introspect
Fields in tools.jackson.databind.introspect declared as AnnotationMapModifier and TypeFieldDescriptionprotected final AnnotationMapAnnotatedMember._annotationsprotected final AnnotationMap[]AnnotatedWithParams._paramAnnotationsAnnotations associated with parameters of the annotated entity (method or constructor parameters)protected static final AnnotationMap[]CollectorBase.NO_ANNOTATION_MAPSMethods in tools.jackson.databind.introspect that return AnnotationMapModifier and TypeMethodDescriptionAnnotatedMember._annotationMap()Deprecated.Not to be used by code outside jackson-databind.(package private) static AnnotationMapCollectorBase._emptyAnnotationMap()(package private) static AnnotationMap[]CollectorBase._emptyAnnotationMaps(int count) private AnnotationMapPOJOPropertyBuilder._getAllAnnotations(POJOPropertyBuilder.Linked<? extends AnnotatedMember> node) Replacement, as per [databind#868], of simple access to annotations, which does "deep merge" if an as necessary, across alternate accessors of same type: most importantly, "is-getter vs regular getter"private AnnotationMapPOJOPropertyBuilder._mergeAnnotations(POJOPropertyBuilder.Linked<? extends AnnotatedMember> node1, AnnotationMap secondary) private AnnotationMapPOJOPropertyBuilder._mergeAnnotations(POJOPropertyBuilder.Linked<? extends AnnotatedMember> node1, POJOPropertyBuilder.Linked<? extends AnnotatedMember> node2) abstract AnnotationMapAnnotationCollector.asAnnotationMap()AnnotationCollector.EmptyCollector.asAnnotationMap()AnnotationCollector.NCollector.asAnnotationMap()AnnotationCollector.OneCollector.asAnnotationMap()private AnnotationMap[]AnnotatedCreatorCollector.collectAnnotations(Annotation[][] mainAnns, Annotation[][] mixinAnns) private final AnnotationMapAnnotatedCreatorCollector.collectAnnotations(AnnotatedElement main, AnnotatedElement mixin) private AnnotationMapAnnotatedCreatorCollector.collectAnnotations(ClassUtil.Ctor main, ClassUtil.Ctor mixin) final AnnotationMapAnnotatedWithParams.getParameterAnnotations(int index) static AnnotationMapAnnotationMap.merge(AnnotationMap primary, AnnotationMap secondary) static AnnotationMapAnnotationMap.of(Class<?> type, Annotation value) static AnnotationMapAnnotationMap.of(Collection<Annotation> rawAnnotations) Methods in tools.jackson.databind.introspect with parameters of type AnnotationMapModifier and TypeMethodDescriptionprivate <T extends AnnotatedMember>
POJOPropertyBuilder.Linked<T> POJOPropertyBuilder._applyAnnotations(POJOPropertyBuilder.Linked<T> node, AnnotationMap ann) Helper method to handle recursive merging of annotations within accessor class, to ensure no annotations are accidentally dropped within chain when non-visible and secondary accessors are pruned later on.private AnnotationMapPOJOPropertyBuilder._mergeAnnotations(POJOPropertyBuilder.Linked<? extends AnnotatedMember> node1, AnnotationMap secondary) static AnnotationMapAnnotationMap.merge(AnnotationMap primary, AnnotationMap secondary) protected AnnotatedParameterAnnotatedWithParams.replaceParameterAnnotations(int index, AnnotationMap ann) Method called by parameter object when an augmented instance is created; needs to replace parameter with new instanceAnnotatedConstructor.withAnnotations(AnnotationMap ann) AnnotatedField.withAnnotations(AnnotationMap ann) abstract AnnotatedAnnotatedMember.withAnnotations(AnnotationMap fallback) Fluent factory method that will construct a new instance that uses specified instance annotations instead of currently configured ones.AnnotatedMethod.withAnnotations(AnnotationMap ann) AnnotatedParameter.withAnnotations(AnnotationMap ann) VirtualAnnotatedMember.withAnnotations(AnnotationMap fallback) Constructors in tools.jackson.databind.introspect with parameters of type AnnotationMapModifierConstructorDescriptionAnnotatedConstructor(TypeResolutionContext ctxt, Constructor<?> constructor, AnnotationMap classAnn, AnnotationMap[] paramAnn) AnnotatedField(TypeResolutionContext contextClass, Field field, AnnotationMap annMap) protectedAnnotatedMember(TypeResolutionContext ctxt, AnnotationMap annotations) AnnotatedMethod(TypeResolutionContext ctxt, Method method, AnnotationMap classAnn, AnnotationMap[] paramAnnotations) AnnotatedParameter(AnnotatedWithParams owner, JavaType type, TypeResolutionContext typeContext, AnnotationMap annotations, int index) protectedAnnotatedWithParams(AnnotatedWithParams base, AnnotationMap[] paramAnnotations) protectedAnnotatedWithParams(TypeResolutionContext ctxt, AnnotationMap annotations, AnnotationMap[] paramAnnotations)