Uses of Class
com.fasterxml.jackson.databind.introspect.Annotated
Packages that use Annotated
Package
Description
Basic data binding (mapping) functionality that
allows for reading JSON content into Java Objects (POJOs)
and JSON Trees (
JsonNode), as well as
writing Java Objects and trees as JSON.Package that contains most of configuration-related classes;
exception being couple of most-commonly used configuration
things (like Feature enumerations) that are at the
main level (
com.fasterxml.jackson.databind).Contains implementation classes of deserialization part of
data binding.
Contains extended support for "external" packages: things that
may or may not be present in runtime environment, but that are
commonly enough used so that explicit support can be added.
Functionality needed for Bean introspection, required for detecting
accessors and mutators for Beans, as well as locating and handling
method annotations.
Contains implementation classes of serialization part of
data binding.
-
Uses of Annotated in com.fasterxml.jackson.databind
Methods in com.fasterxml.jackson.databind with parameters of type AnnotatedModifier and TypeMethodDescriptionprotected <A extends Annotation>
AAnnotationIntrospector._findAnnotation(Annotated ann, Class<A> annoClass) Method that should be used by sub-classes for ALL annotation access; overridable so that sub-classes may, if they choose to, mangle actual access to block access ("hide" annotations) or perhaps change it.protected booleanAnnotationIntrospector._hasAnnotation(Annotated ann, Class<? extends Annotation> annoClass) Method that should be used by sub-classes for ALL annotation existence access; overridable so that sub-classes may, if they choose to, mangle actual access to block access ("hide" annotations) or perhaps change value seen.protected booleanAnnotationIntrospector._hasOneOf(Annotated ann, Class<? extends Annotation>[] annoClasses) Alternative lookup method that is used to see if annotation has at least one of annotations of types listed in second argument.DatabindContext.converterInstance(Annotated annotated, Object converterDef) Helper method to use to construct aConverter, given a definition that may be either actual converter instance, or Class for instantiating one.abstract JsonDeserializer<Object> DeserializationContext.deserializerInstance(Annotated annotated, Object deserDef) AnnotationIntrospector.findContentDeserializer(Annotated am) Method for getting a deserializer definition for content (values) of associatedCollection,arrayorMapproperty.AnnotationIntrospector.findContentSerializer(Annotated am) Method for getting a serializer definition for content (values) of associatedCollection,arrayorMapproperty.com.fasterxml.jackson.annotation.JsonCreator.ModeAnnotationIntrospector.findCreatorAnnotation(MapperConfig<?> config, Annotated ann) Method called to check whether potential Creator (constructor or static factory method) has explicit annotation to indicate it as actual Creator; and if so, whichJsonCreator.Modeto use.com.fasterxml.jackson.annotation.JsonCreator.ModeAnnotationIntrospector.findCreatorBinding(Annotated ann) Deprecated.AnnotationIntrospector.findDeserializationConverter(Annotated a) Method for findingConverterthat annotated entity (property or class) has indicated to be used as part of deserialization.AnnotationIntrospector.findDeserializer(Annotated am) Method for getting a deserializer definition on specified method or field.AnnotationIntrospector.findFilterId(Annotated ann) Method for finding if annotated class has associated filter; and if so, to return id that is used to locate filter.com.fasterxml.jackson.annotation.JsonFormat.ValueAnnotationIntrospector.findFormat(Annotated memberOrClass) Method for finding format annotations for property or class.AnnotationIntrospector.findKeyDeserializer(Annotated am) Method for getting a deserializer definition for keys of associatedMapproperty.AnnotationIntrospector.findKeySerializer(Annotated am) Method for getting a serializer definition for keys of associatedjava.util.Mapproperty.AnnotationIntrospector.findMergeInfo(Annotated ann) Method for finding merge settings for property, if any.AnnotationIntrospector.findNameForDeserialization(Annotated ann) Method for checking whether given property accessors (method, field) has an annotation that suggests property name to use for deserialization (reading JSON into POJOs).AnnotationIntrospector.findNameForSerialization(Annotated a) Method for checking whether given property accessors (method, field) has an annotation that suggests property name to use for serialization.AnnotationIntrospector.XmlExtensions.findNamespace(MapperConfig<?> config, Annotated ann) Method that can be called to figure out generic namespace property for an annotated object.AnnotationIntrospector.findNullSerializer(Annotated am) Method for getting a serializer definition for serializer to use for nulls (null values) of associated property or type.AnnotationIntrospector.findObjectIdInfo(Annotated ann) Method for checking whether given annotated thing (type, or accessor) indicates that values referenced (values of type of annotated class, or values referenced by annotated property; latter having precedence) should include Object Identifier, and if so, specify details of Object Identity used.AnnotationIntrospector.findObjectReferenceInfo(Annotated ann, ObjectIdInfo objectIdInfo) Method for figuring out additional properties of an Object Identity referencecom.fasterxml.jackson.annotation.JsonTypeInfo.ValueAnnotationIntrospector.findPolymorphicTypeInfo(MapperConfig<?> config, Annotated ann) Method for checking whether given Class or Property Accessor specifies polymorphic type-handling information, to indicate need for polymorphic handling.com.fasterxml.jackson.annotation.JsonProperty.AccessAnnotationIntrospector.findPropertyAccess(Annotated ann) Method for finding optional access definition for a property, annotated on one of its accessors.AnnotationIntrospector.findPropertyAliases(Annotated ann) Method called to find if given property has alias(es) defined.AnnotationIntrospector.findPropertyDefaultValue(Annotated ann) Method for finding suggested default value (as simple textual serialization) for the property.AnnotationIntrospector.findPropertyDescription(Annotated ann) Method used to check whether specified property member (accessor or mutator) defines human-readable description to use for documentation.com.fasterxml.jackson.annotation.JsonIgnoreProperties.ValueAnnotationIntrospector.findPropertyIgnoralByName(MapperConfig<?> config, Annotated ann) Method for finding information about properties to ignore either by name, or by more general specification ("ignore all unknown").com.fasterxml.jackson.annotation.JsonIgnoreProperties.ValueAnnotationIntrospector.findPropertyIgnorals(Annotated ac) Deprecated.2.12, useAnnotationIntrospector.findPropertyIgnoralByName(MapperConfig, Annotated)instead.com.fasterxml.jackson.annotation.JsonInclude.ValueAnnotationIntrospector.findPropertyInclusion(Annotated a) Method for checking inclusion criteria for a type (Class) or property (yes, method name is bit unfortunate -- not just for properties!).com.fasterxml.jackson.annotation.JsonIncludeProperties.ValueAnnotationIntrospector.findPropertyInclusionByName(MapperConfig<?> config, Annotated ann) Method for finding information about names of properties to included.AnnotationIntrospector.findPropertyIndex(Annotated ann) Method used to check whether specified property member (accessor or mutator) defines numeric index, and if so, what is the index value.AnnotationIntrospector.findSerializationConverter(Annotated a) Method for findingConverterthat annotated entity (property or class) has indicated to be used as part of serialization.AnnotationIntrospector.findSerializationSortAlphabetically(Annotated ann) Method for checking whether an annotation indicates that serialized properties for which no explicit is defined should be alphabetically (lexicograpically) orderedAnnotationIntrospector.findSerializationTyping(Annotated a) Method for accessing declared typing mode annotated (if any).AnnotationIntrospector.findSerializer(Annotated am) Method for getting a serializer definition on specified method or field.com.fasterxml.jackson.annotation.JsonSetter.ValueAnnotationIntrospector.findSetterInfo(Annotated ann) Method for finding possible settings for property, given annotations on an accessor.AnnotationIntrospector.findSubtypes(Annotated a) Method for locating annotation-specified subtypes related to annotated entity (class, method, field).Class<?>[]Method for checking if annotated property (represented by a field or getter/setter method) has definitions for views it is to be included in.AnnotationIntrospector.findWrapperName(Annotated ann) Method used to check if specified property has annotation that indicates that it should be wrapped in an element; and if so, name to use.AnnotationIntrospector.hasAnyGetter(Annotated ann) Method for checking whether given method has an annotation that suggests that the method is to serve as "any setter"; method to be used for accessing set of miscellaneous "extra" properties, often bound with matching "any setter" method.AnnotationIntrospector.hasAnySetter(Annotated ann) Method for checking whether given method has an annotation that suggests that the method is to serve as "any setter"; method to be used for setting values of any properties for which no dedicated setter method is found.AnnotationIntrospector.hasAsKey(MapperConfig<?> config, Annotated a) Method for checking whether given method has an annotation that suggests the return value of annotated field or method should be used as "the key" of the object instance; usually serialized as a primitive value such as String or number.AnnotationIntrospector.hasAsValue(Annotated a) Method for checking whether given method has an annotation that suggests that the return value of annotated method should be used as "the value" of the object instance; usually serialized as a primitive value such as String or number.booleanAnnotationIntrospector.hasCreatorAnnotation(Annotated ann) Deprecated.Since 2.9 useAnnotationIntrospector.findCreatorAnnotation(MapperConfig, Annotated)instead.AnnotationIntrospector.XmlExtensions.isOutputAsAttribute(MapperConfig<?> config, Annotated ann) Method used to check whether given annotated element (field, method, constructor parameter) has indicator that suggests it be output as an XML attribute or not (if not, then as element)AnnotationIntrospector.XmlExtensions.isOutputAsCData(MapperConfig<?> config, Annotated ann) Method used to check whether given annotated element (field, method, constructor parameter) has indicator that suggests it should be wrapped in a CDATA tag.AnnotationIntrospector.XmlExtensions.isOutputAsText(MapperConfig<?> config, Annotated ann) Method used to check whether given annotated element (field, method, constructor parameter) has indicator that suggests it should be serialized as text, without element wrapper.abstract KeyDeserializerDeserializationContext.keyDeserializerInstance(Annotated annotated, Object deserDef) com.fasterxml.jackson.annotation.ObjectIdGenerator<?> DatabindContext.objectIdGeneratorInstance(Annotated annotated, ObjectIdInfo objectIdInfo) com.fasterxml.jackson.annotation.ObjectIdResolverDatabindContext.objectIdResolverInstance(Annotated annotated, ObjectIdInfo objectIdInfo) AnnotationIntrospector.refineDeserializationType(MapperConfig<?> config, Annotated a, JavaType baseType) Method called to find out possible type refinements to use for deserialization.AnnotationIntrospector.refineSerializationType(MapperConfig<?> config, Annotated a, JavaType baseType) Method called to find out possible type refinements to use for deserialization, including not just value itself but key and/or content type, if type has those.abstract JsonSerializer<Object> SerializerProvider.serializerInstance(Annotated annotated, Object serDef) Method that can be called to construct and configure serializer instance, either given aClassto instantiate (with default constructor), or an uninitialized serializer instance. -
Uses of Annotated in com.fasterxml.jackson.databind.cfg
Methods in com.fasterxml.jackson.databind.cfg with parameters of type AnnotatedModifier and TypeMethodDescriptionConverter<?, ?> HandlerInstantiator.converterInstance(MapperConfig<?> config, Annotated annotated, Class<?> implClass) Method called to construct a Converter instance used for specified class.abstract JsonDeserializer<?> HandlerInstantiator.deserializerInstance(DeserializationConfig config, Annotated annotated, Class<?> deserClass) Method called to get an instance of deserializer of specified type.abstract KeyDeserializerHandlerInstantiator.keyDeserializerInstance(DeserializationConfig config, Annotated annotated, Class<?> keyDeserClass) Method called to get an instance of key deserializer of specified type.HandlerInstantiator.namingStrategyInstance(MapperConfig<?> config, Annotated annotated, Class<?> implClass) Method called to construct a NamingStrategy instance used for specified class.com.fasterxml.jackson.annotation.ObjectIdGenerator<?> HandlerInstantiator.objectIdGeneratorInstance(MapperConfig<?> config, Annotated annotated, Class<?> implClass) Method called to construct a ObjectIdHandler instance of specified type.com.fasterxml.jackson.annotation.ObjectIdResolverHandlerInstantiator.resolverIdGeneratorInstance(MapperConfig<?> config, Annotated annotated, Class<?> implClass) abstract JsonSerializer<?> HandlerInstantiator.serializerInstance(SerializationConfig config, Annotated annotated, Class<?> serClass) Method called to get an instance of serializer of specified type.abstract TypeIdResolverHandlerInstantiator.typeIdResolverInstance(MapperConfig<?> config, Annotated annotated, Class<?> resolverClass) Method called to get an instance of TypeIdResolver of specified type.MapperConfig.typeIdResolverInstance(Annotated annotated, Class<? extends TypeIdResolver> resolverClass) Method that can be called to obtain an instance ofTypeIdResolverof specified type.abstract TypeResolverBuilder<?> HandlerInstantiator.typeResolverBuilderInstance(MapperConfig<?> config, Annotated annotated, Class<?> builderClass) Method called to get an instance of TypeResolverBuilder of specified type.MapperConfig.typeResolverBuilderInstance(Annotated annotated, Class<? extends TypeResolverBuilder<?>> builderClass) Method that can be called to obtain an instance ofTypeIdResolverof specified type.HandlerInstantiator.valueInstantiatorInstance(MapperConfig<?> config, Annotated annotated, Class<?> resolverClass) Method called to construct an instance of ValueInstantiator of specified type. -
Uses of Annotated in com.fasterxml.jackson.databind.deser
Methods in com.fasterxml.jackson.databind.deser with parameters of type AnnotatedModifier and TypeMethodDescriptionprotected booleanBasicDeserializerFactory._hasCreatorAnnotation(DeserializationContext ctxt, Annotated ann) BasicDeserializerFactory._valueInstantiatorInstance(DeserializationConfig config, Annotated annotated, Object instDef) DefaultDeserializationContext.deserializerInstance(Annotated ann, Object deserDef) protected JsonDeserializer<Object> BasicDeserializerFactory.findContentDeserializerFromAnnotation(DeserializationContext ctxt, Annotated ann) DeserializerCache.findConverter(DeserializationContext ctxt, Annotated a) protected JsonDeserializer<Object> DeserializerCache.findConvertingDeserializer(DeserializationContext ctxt, Annotated a, JsonDeserializer<Object> deser) Helper method that will check whether given annotated entity (usually class, but may also be a property accessor) indicates that aConverteris to be used; and if so, to construct and return suitable serializer for it.protected JsonDeserializer<Object> BasicDeserializerFactory.findDeserializerFromAnnotation(DeserializationContext ctxt, Annotated ann) Helper method called to check if a class or method has annotation that tells which class to use for deserialization; and if so, to instantiate, that deserializer to use.protected JsonDeserializer<Object> DeserializerCache.findDeserializerFromAnnotation(DeserializationContext ctxt, Annotated ann) Helper method called to check if a class or method has annotation that tells which class to use for deserialization.protected KeyDeserializerBasicDeserializerFactory.findKeyDeserializerFromAnnotation(DeserializationContext ctxt, Annotated ann) Helper method called to check if a class or method has annotation that tells which class to use for deserialization ofMapkeys.final KeyDeserializerDefaultDeserializationContext.keyDeserializerInstance(Annotated ann, Object deserDef) protected JavaTypeBasicDeserializerFactory.modifyTypeByAnnotation(DeserializationContext ctxt, Annotated a, JavaType type) Deprecated. -
Uses of Annotated in com.fasterxml.jackson.databind.ext
Methods in com.fasterxml.jackson.databind.ext with parameters of type AnnotatedModifier and TypeMethodDescriptionabstract BooleanJava7Support.findTransient(Annotated a) Java7SupportImpl.findTransient(Annotated a) abstract BooleanJava7Support.hasCreatorAnnotation(Annotated a) Java7SupportImpl.hasCreatorAnnotation(Annotated a) -
Uses of Annotated in com.fasterxml.jackson.databind.introspect
Classes in com.fasterxml.jackson.databind.introspect with type parameters of type AnnotatedModifier and TypeClassDescriptionclassAnnotatedAndMetadata<A extends Annotated, M>Silly little "Pair" class needed for 2-element tuples (without adding dependency to one of 3rd party packages that has one).Subclasses of Annotated in com.fasterxml.jackson.databind.introspectModifier and TypeClassDescriptionfinal classfinal classfinal classObject that represents non-static (and usually non-transient/volatile) fields of a class.classIntermediate base class for annotated entities that are members of a class; fields, methods and constructors.final classfinal classObject that represents method parameters, mostly so that associated annotations can be processed conveniently.classIntermediate base class that encapsulates features that constructors and methods share.classPlaceholder used by virtual properties as placeholder for underlyingAnnotatedMember.Fields in com.fasterxml.jackson.databind.introspect declared as AnnotatedMethods in com.fasterxml.jackson.databind.introspect with type parameters of type AnnotatedModifier and TypeMethodDescriptionstatic <A extends Annotated, M>
AnnotatedAndMetadata<A, M> AnnotatedAndMetadata.of(A ann, M md) Methods in com.fasterxml.jackson.databind.introspect that return AnnotatedModifier and TypeMethodDescriptionabstract AnnotatedAnnotatedMember.withAnnotations(AnnotationMap fallback) Fluent factory method that will construct a new instance that uses specified instance annotations instead of currently configured ones.VirtualAnnotatedMember.withAnnotations(AnnotationMap fallback) Methods in com.fasterxml.jackson.databind.introspect with parameters of type AnnotatedModifier and TypeMethodDescriptionprotected PropertyNameJacksonAnnotationIntrospector._findConstructorName(Annotated a) protected TypeResolverBuilder<?> JacksonAnnotationIntrospector._findTypeResolver(MapperConfig<?> config, Annotated ann, JavaType baseType) Helper method called to construct and initialize instance ofTypeResolverBuilderif given annotated element indicates one is needed.protected booleanJacksonAnnotationIntrospector._isIgnorable(Annotated a) AnnotationIntrospectorPair.findContentDeserializer(Annotated am) JacksonAnnotationIntrospector.findContentDeserializer(Annotated a) AnnotationIntrospectorPair.findContentSerializer(Annotated a) JacksonAnnotationIntrospector.findContentSerializer(Annotated a) com.fasterxml.jackson.annotation.JsonCreator.ModeAnnotationIntrospectorPair.findCreatorAnnotation(MapperConfig<?> config, Annotated a) com.fasterxml.jackson.annotation.JsonCreator.ModeJacksonAnnotationIntrospector.findCreatorAnnotation(MapperConfig<?> config, Annotated a) com.fasterxml.jackson.annotation.JsonCreator.ModeAnnotationIntrospectorPair.findCreatorBinding(Annotated a) Deprecated.com.fasterxml.jackson.annotation.JsonCreator.ModeJacksonAnnotationIntrospector.findCreatorBinding(Annotated a) Deprecated.AnnotationIntrospectorPair.findDeserializationConverter(Annotated a) JacksonAnnotationIntrospector.findDeserializationConverter(Annotated a) AnnotationIntrospectorPair.findDeserializer(Annotated a) JacksonAnnotationIntrospector.findDeserializer(Annotated a) AnnotationIntrospectorPair.findFilterId(Annotated ann) JacksonAnnotationIntrospector.findFilterId(Annotated a) com.fasterxml.jackson.annotation.JsonFormat.ValueAnnotationIntrospectorPair.findFormat(Annotated ann) com.fasterxml.jackson.annotation.JsonFormat.ValueJacksonAnnotationIntrospector.findFormat(Annotated ann) AnnotationIntrospectorPair.findKeyDeserializer(Annotated a) JacksonAnnotationIntrospector.findKeyDeserializer(Annotated a) AnnotationIntrospectorPair.findKeySerializer(Annotated a) JacksonAnnotationIntrospector.findKeySerializer(Annotated a) AnnotationIntrospectorPair.findMergeInfo(Annotated a) JacksonAnnotationIntrospector.findMergeInfo(Annotated a) AnnotationIntrospectorPair.findNameForDeserialization(Annotated a) JacksonAnnotationIntrospector.findNameForDeserialization(Annotated a) AnnotationIntrospectorPair.findNameForSerialization(Annotated a) JacksonAnnotationIntrospector.findNameForSerialization(Annotated a) AnnotationIntrospectorPair.findNullSerializer(Annotated a) JacksonAnnotationIntrospector.findNullSerializer(Annotated a) AnnotationIntrospectorPair.findObjectIdInfo(Annotated ann) JacksonAnnotationIntrospector.findObjectIdInfo(Annotated ann) AnnotationIntrospectorPair.findObjectReferenceInfo(Annotated ann, ObjectIdInfo objectIdInfo) JacksonAnnotationIntrospector.findObjectReferenceInfo(Annotated ann, ObjectIdInfo objectIdInfo) com.fasterxml.jackson.annotation.JsonTypeInfo.ValueAnnotationIntrospectorPair.findPolymorphicTypeInfo(MapperConfig<?> config, Annotated ann) com.fasterxml.jackson.annotation.JsonTypeInfo.ValueJacksonAnnotationIntrospector.findPolymorphicTypeInfo(MapperConfig<?> config, Annotated ann) com.fasterxml.jackson.annotation.JsonProperty.AccessAnnotationIntrospectorPair.findPropertyAccess(Annotated ann) com.fasterxml.jackson.annotation.JsonProperty.AccessJacksonAnnotationIntrospector.findPropertyAccess(Annotated m) AnnotationIntrospectorPair.findPropertyAliases(Annotated ann) JacksonAnnotationIntrospector.findPropertyAliases(Annotated m) AnnotationIntrospectorPair.findPropertyDefaultValue(Annotated ann) JacksonAnnotationIntrospector.findPropertyDefaultValue(Annotated ann) AnnotationIntrospectorPair.findPropertyDescription(Annotated ann) JacksonAnnotationIntrospector.findPropertyDescription(Annotated ann) com.fasterxml.jackson.annotation.JsonIgnoreProperties.ValueAnnotationIntrospectorPair.findPropertyIgnoralByName(MapperConfig<?> config, Annotated ann) com.fasterxml.jackson.annotation.JsonIgnoreProperties.ValueJacksonAnnotationIntrospector.findPropertyIgnoralByName(MapperConfig<?> config, Annotated a) com.fasterxml.jackson.annotation.JsonIgnoreProperties.ValueAnnotationIntrospectorPair.findPropertyIgnorals(Annotated a) Deprecated.com.fasterxml.jackson.annotation.JsonIgnoreProperties.ValueJacksonAnnotationIntrospector.findPropertyIgnorals(Annotated ac) Deprecated.com.fasterxml.jackson.annotation.JsonInclude.ValueAnnotationIntrospectorPair.findPropertyInclusion(Annotated a) com.fasterxml.jackson.annotation.JsonInclude.ValueJacksonAnnotationIntrospector.findPropertyInclusion(Annotated a) com.fasterxml.jackson.annotation.JsonIncludeProperties.ValueAnnotationIntrospectorPair.findPropertyInclusionByName(MapperConfig<?> config, Annotated a) com.fasterxml.jackson.annotation.JsonIncludeProperties.ValueJacksonAnnotationIntrospector.findPropertyInclusionByName(MapperConfig<?> config, Annotated a) AnnotationIntrospectorPair.findPropertyIndex(Annotated ann) JacksonAnnotationIntrospector.findPropertyIndex(Annotated ann) AnnotationIntrospectorPair.findSerializationConverter(Annotated a) JacksonAnnotationIntrospector.findSerializationConverter(Annotated a) AnnotationIntrospectorPair.findSerializationSortAlphabetically(Annotated ann) JacksonAnnotationIntrospector.findSerializationSortAlphabetically(Annotated ann) AnnotationIntrospectorPair.findSerializationTyping(Annotated a) JacksonAnnotationIntrospector.findSerializationTyping(Annotated a) AnnotationIntrospectorPair.findSerializer(Annotated am) JacksonAnnotationIntrospector.findSerializer(Annotated a) com.fasterxml.jackson.annotation.JsonSetter.ValueAnnotationIntrospectorPair.findSetterInfo(Annotated a) com.fasterxml.jackson.annotation.JsonSetter.ValueJacksonAnnotationIntrospector.findSetterInfo(Annotated a) AnnotationIntrospectorPair.findSubtypes(Annotated a) JacksonAnnotationIntrospector.findSubtypes(Annotated a) Class<?>[]Class<?>[]AnnotationIntrospectorPair.findWrapperName(Annotated ann) AnnotationIntrospectorPair.hasAnyGetter(Annotated a) JacksonAnnotationIntrospector.hasAnyGetter(Annotated a) AnnotationIntrospectorPair.hasAnySetter(Annotated a) JacksonAnnotationIntrospector.hasAnySetter(Annotated a) AnnotationIntrospectorPair.hasAsKey(MapperConfig<?> config, Annotated a) JacksonAnnotationIntrospector.hasAsKey(MapperConfig<?> config, Annotated a) AnnotationIntrospectorPair.hasAsValue(Annotated a) JacksonAnnotationIntrospector.hasAsValue(Annotated a) booleanAnnotationIntrospectorPair.hasCreatorAnnotation(Annotated a) Deprecated.booleanJacksonAnnotationIntrospector.hasCreatorAnnotation(Annotated a) Deprecated.AnnotationIntrospectorPair.refineDeserializationType(MapperConfig<?> config, Annotated a, JavaType baseType) JacksonAnnotationIntrospector.refineDeserializationType(MapperConfig<?> config, Annotated a, JavaType baseType) AnnotationIntrospectorPair.refineSerializationType(MapperConfig<?> config, Annotated a, JavaType baseType) JacksonAnnotationIntrospector.refineSerializationType(MapperConfig<?> config, Annotated a, JavaType baseType) -
Uses of Annotated in com.fasterxml.jackson.databind.ser
Methods in com.fasterxml.jackson.databind.ser with parameters of type AnnotatedModifier and TypeMethodDescriptionprotected JsonSerializer<Object> BasicSerializerFactory._findContentSerializer(SerializerProvider prov, Annotated a) Helper method called to try to find whether there is an annotation in the class that indicates content ("value") serializer to use.protected JsonSerializer<Object> BasicSerializerFactory._findKeySerializer(SerializerProvider prov, Annotated a) Helper method called to try to find whether there is an annotation in the class that indicates key serializer to use.BasicSerializerFactory.findConverter(SerializerProvider prov, Annotated a) protected JsonSerializer<?> BasicSerializerFactory.findConvertingSerializer(SerializerProvider prov, Annotated a, JsonSerializer<?> ser) Helper method that will check whether given annotated entity (usually class, but may also be a property accessor) indicates that aConverteris to be used; and if so, to construct and return suitable serializer for it.protected JavaTypePropertyBuilder.findSerializationType(Annotated a, boolean useStaticTyping, JavaType declaredType) Method that will try to determine statically defined type of property being serialized, based on annotations (for overrides), and alternatively declared type (if static typing for serialization is enabled).protected JsonSerializer<Object> BasicSerializerFactory.findSerializerFromAnnotation(SerializerProvider prov, Annotated a) Helper method called to check if a class or method has an annotation (@link com.fasterxml.jackson.databind.annotation.JsonSerialize#using) that tells the class to use for serialization.DefaultSerializerProvider.serializerInstance(Annotated annotated, Object serDef)
AnnotationIntrospector.findCreatorAnnotation(MapperConfig, Annotated)instead.