Uses of Class
com.fasterxml.jackson.databind.AnnotationIntrospector
Packages that use AnnotationIntrospector
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 those implementation classes of deserialization part of
data binding that are not considered part of public or semi-public
interfaces.
Functionality needed for Bean introspection, required for detecting
accessors and mutators for Beans, as well as locating and handling
method annotations.
Contains helper class(es) needed to support some of JDK14+
features without requiring running or building using JDK 14.
Package that contains interfaces that define how to implement
functionality for dynamically resolving type during deserialization.
Package that contains standard implementations for
TypeResolverBuilder
and
TypeIdResolver
.Contains implementation classes of serialization part of
data binding.
Utility classes for Mapper package.
-
Uses of AnnotationIntrospector in com.fasterxml.jackson.databind
Fields in com.fasterxml.jackson.databind declared as AnnotationIntrospectorModifier and TypeFieldDescriptionprotected static final AnnotationIntrospector
ObjectMapper.DEFAULT_ANNOTATION_INTROSPECTOR
Methods in com.fasterxml.jackson.databind that return AnnotationIntrospectorModifier and TypeMethodDescriptionabstract AnnotationIntrospector
DatabindContext.getAnnotationIntrospector()
Convenience method for accessing serialization view in use (if any); equivalent to:final AnnotationIntrospector
DeserializationContext.getAnnotationIntrospector()
final AnnotationIntrospector
SerializerProvider.getAnnotationIntrospector()
static AnnotationIntrospector
AnnotationIntrospector.nopInstance()
Factory method for accessing "no operation" implementation of introspector: instance that will never find any annotation-based configuration.static AnnotationIntrospector
AnnotationIntrospector.pair
(AnnotationIntrospector a1, AnnotationIntrospector a2) Methods in com.fasterxml.jackson.databind that return types with arguments of type AnnotationIntrospectorModifier and TypeMethodDescriptionAnnotationIntrospector.allIntrospectors()
Method that can be used to collect all "real" introspectors that this introspector contains, if any; or this introspector if it is not a container.AnnotationIntrospector.allIntrospectors
(Collection<AnnotationIntrospector> result) Method that can be used to collect all "real" introspectors that this introspector contains, if any; or this introspector if it is not a container.Methods in com.fasterxml.jackson.databind with parameters of type AnnotationIntrospectorModifier and TypeMethodDescriptionvoid
Module.SetupContext.appendAnnotationIntrospector
(AnnotationIntrospector ai) Method for registering specifiedAnnotationIntrospector
as the lowest priority introspector, chained with existing introspector(s) and called as fallback for cases not otherwise handled.com.fasterxml.jackson.annotation.JsonFormat.Value
BeanProperty.Bogus.findFormatOverrides
(AnnotationIntrospector intr) Deprecated.com.fasterxml.jackson.annotation.JsonFormat.Value
BeanProperty.findFormatOverrides
(AnnotationIntrospector intr) Deprecated.com.fasterxml.jackson.annotation.JsonFormat.Value
BeanProperty.Std.findFormatOverrides
(AnnotationIntrospector intr) Deprecated.void
Module.SetupContext.insertAnnotationIntrospector
(AnnotationIntrospector ai) Method for registering specifiedAnnotationIntrospector
as the highest priority introspector (will be chained with existing introspector(s) which will be used as fallbacks for cases this introspector does not handle)static AnnotationIntrospector
AnnotationIntrospector.pair
(AnnotationIntrospector a1, AnnotationIntrospector a2) ObjectMapper.setAnnotationIntrospector
(AnnotationIntrospector ai) Method for settingAnnotationIntrospector
used by this mapper instance for both serialization and deserialization.ObjectMapper.setAnnotationIntrospectors
(AnnotationIntrospector serializerAI, AnnotationIntrospector deserializerAI) Method for changingAnnotationIntrospector
instances used by this mapper instance for serialization and deserialization, specifying them separately so that different introspection can be used for different aspectsMethod parameters in com.fasterxml.jackson.databind with type arguments of type AnnotationIntrospectorModifier and TypeMethodDescriptionAnnotationIntrospector.allIntrospectors
(Collection<AnnotationIntrospector> result) Method that can be used to collect all "real" introspectors that this introspector contains, if any; or this introspector if it is not a container. -
Uses of AnnotationIntrospector in com.fasterxml.jackson.databind.cfg
Fields in com.fasterxml.jackson.databind.cfg declared as AnnotationIntrospectorModifier and TypeFieldDescriptionprotected final AnnotationIntrospector
BaseSettings._annotationIntrospector
Introspector used for accessing annotation value based configuration.Methods in com.fasterxml.jackson.databind.cfg that return AnnotationIntrospectorModifier and TypeMethodDescriptionBaseSettings.getAnnotationIntrospector()
MapperConfig.getAnnotationIntrospector()
Method for gettingAnnotationIntrospector
configured to introspect annotation values used for configuration.Methods in com.fasterxml.jackson.databind.cfg with parameters of type AnnotationIntrospectorModifier and TypeMethodDescriptionMapperBuilder.annotationIntrospector
(AnnotationIntrospector intr) Method for replacingAnnotationIntrospector
used by the mapper instance to be built.final T
MapperConfigBase.with
(AnnotationIntrospector ai) Method for constructing and returning a new instance with differentAnnotationIntrospector
to use (replacing old one).BaseSettings.withAnnotationIntrospector
(AnnotationIntrospector ai) BaseSettings.withAppendedAnnotationIntrospector
(AnnotationIntrospector ai) final T
MapperConfigBase.withAppendedAnnotationIntrospector
(AnnotationIntrospector ai) Method for constructing and returning a new instance with additionalAnnotationIntrospector
appended (as the lowest priority one)BaseSettings.withInsertedAnnotationIntrospector
(AnnotationIntrospector ai) final T
MapperConfigBase.withInsertedAnnotationIntrospector
(AnnotationIntrospector ai) Method for constructing and returning a new instance with additionalAnnotationIntrospector
inserted (as the highest priority one)Constructors in com.fasterxml.jackson.databind.cfg with parameters of type AnnotationIntrospectorModifierConstructorDescriptionBaseSettings
(ClassIntrospector ci, AnnotationIntrospector ai, PropertyNamingStrategy pns, TypeFactory tf, TypeResolverBuilder<?> typer, DateFormat dateFormat, HandlerInstantiator hi, Locale locale, TimeZone tz, com.fasterxml.jackson.core.Base64Variant defaultBase64, PolymorphicTypeValidator ptv) Deprecated.BaseSettings
(ClassIntrospector ci, AnnotationIntrospector ai, PropertyNamingStrategy pns, TypeFactory tf, TypeResolverBuilder<?> typer, DateFormat dateFormat, HandlerInstantiator hi, Locale locale, TimeZone tz, com.fasterxml.jackson.core.Base64Variant defaultBase64, PolymorphicTypeValidator ptv, AccessorNamingStrategy.Provider accNaming) Deprecated.Since 2.16, use variant that takesCacheProvider
instead.BaseSettings
(ClassIntrospector ci, AnnotationIntrospector ai, PropertyNamingStrategy pns, TypeFactory tf, TypeResolverBuilder<?> typer, DateFormat dateFormat, HandlerInstantiator hi, Locale locale, TimeZone tz, com.fasterxml.jackson.core.Base64Variant defaultBase64, PolymorphicTypeValidator ptv, AccessorNamingStrategy.Provider accNaming, CacheProvider cacheProvider) -
Uses of AnnotationIntrospector in com.fasterxml.jackson.databind.deser
Methods in com.fasterxml.jackson.databind.deser that return AnnotationIntrospectorModifier and TypeMethodDescriptionBasicDeserializerFactory.CreatorCollectionState.annotationIntrospector()
Methods in com.fasterxml.jackson.databind.deser with parameters of type AnnotationIntrospectorModifier and TypeMethodDescriptionprotected BeanDeserializerBase
BeanDeserializerBase._handleByNameInclusion
(DeserializationContext ctxt, AnnotationIntrospector intr, BeanDeserializerBase contextual, AnnotatedMember accessor) -
Uses of AnnotationIntrospector in com.fasterxml.jackson.databind.deser.impl
Fields in com.fasterxml.jackson.databind.deser.impl declared as AnnotationIntrospectorMethods in com.fasterxml.jackson.databind.deser.impl with parameters of type AnnotationIntrospectorModifier and TypeMethodDescriptionstatic CreatorCandidate
CreatorCandidate.construct
(AnnotationIntrospector intr, AnnotatedWithParams creator, BeanPropertyDefinition[] propDefs) Constructors in com.fasterxml.jackson.databind.deser.impl with parameters of type AnnotationIntrospectorModifierConstructorDescriptionprotected
CreatorCandidate
(AnnotationIntrospector intr, AnnotatedWithParams ct, CreatorCandidate.Param[] params, int count) -
Uses of AnnotationIntrospector in com.fasterxml.jackson.databind.introspect
Subclasses of AnnotationIntrospector in com.fasterxml.jackson.databind.introspectModifier and TypeClassDescriptionclass
Helper class that allows using 2 introspectors such that one introspector acts as the primary one to use; and second one as a fallback used if the primary does not provide conclusive or useful result for a method.class
AnnotationIntrospector
implementation that handles standard Jackson annotations.class
Dummy, "no-operation" implementation ofAnnotationIntrospector
.Fields in com.fasterxml.jackson.databind.introspect declared as AnnotationIntrospectorModifier and TypeFieldDescriptionprotected final AnnotationIntrospector
AnnotatedClass._annotationIntrospector
Filter used to determine which annotations to gather; used to optimize things so that unnecessary annotations are ignored.protected final AnnotationIntrospector
BasicBeanDescription._annotationIntrospector
protected final AnnotationIntrospector
POJOPropertiesCollector._annotationIntrospector
protected final AnnotationIntrospector
POJOPropertyBuilder._annotationIntrospector
protected final AnnotationIntrospector
CollectorBase._intr
protected final AnnotationIntrospector
CollectorBase._intr
protected final AnnotationIntrospector
AnnotationIntrospectorPair._primary
protected final AnnotationIntrospector
AnnotationIntrospectorPair._secondary
Methods in com.fasterxml.jackson.databind.introspect that return AnnotationIntrospectorModifier and TypeMethodDescriptionstatic AnnotationIntrospector
AnnotationIntrospectorPair.create
(AnnotationIntrospector primary, AnnotationIntrospector secondary) Helper method for constructing a Pair from two given introspectors (if neither is null); or returning non-null introspector if one is null (and return just null if both are null)POJOPropertiesCollector.getAnnotationIntrospector()
Methods in com.fasterxml.jackson.databind.introspect that return types with arguments of type AnnotationIntrospectorModifier and TypeMethodDescriptionAnnotationIntrospectorPair.allIntrospectors()
AnnotationIntrospectorPair.allIntrospectors
(Collection<AnnotationIntrospector> result) Methods in com.fasterxml.jackson.databind.introspect with parameters of type AnnotationIntrospectorModifier and TypeMethodDescriptionprotected void
POJOPropertiesCollector._addGetterMethod
(Map<String, POJOPropertyBuilder> props, AnnotatedMethod m, AnnotationIntrospector ai) protected void
POJOPropertiesCollector._addSetterMethod
(Map<String, POJOPropertyBuilder> props, AnnotatedMethod m, AnnotationIntrospector ai) static List
<AnnotatedField> AnnotatedFieldCollector.collectFields
(AnnotationIntrospector intr, TypeResolutionContext tc, ClassIntrospector.MixInResolver mixins, TypeFactory types, JavaType type, boolean collectAnnotations) static AnnotatedMethodMap
AnnotatedMethodCollector.collectMethods
(AnnotationIntrospector intr, TypeResolutionContext tc, ClassIntrospector.MixInResolver mixins, TypeFactory types, JavaType type, List<JavaType> superTypes, Class<?> primaryMixIn, boolean collectAnnotations) static AnnotationIntrospector
AnnotationIntrospectorPair.create
(AnnotationIntrospector primary, AnnotationIntrospector secondary) Helper method for constructing a Pair from two given introspectors (if neither is null); or returning non-null introspector if one is null (and return just null if both are null)final com.fasterxml.jackson.annotation.JsonFormat.Value
ConcreteBeanPropertyBase.findFormatOverrides
(AnnotationIntrospector intr) Deprecated.Method parameters in com.fasterxml.jackson.databind.introspect with type arguments of type AnnotationIntrospectorModifier and TypeMethodDescriptionAnnotationIntrospectorPair.allIntrospectors
(Collection<AnnotationIntrospector> result) Constructors in com.fasterxml.jackson.databind.introspect with parameters of type AnnotationIntrospectorModifierConstructorDescriptionPOJOPropertyBuilder
(MapperConfig<?> config, AnnotationIntrospector ai, boolean forSerialization, PropertyName internalName) protected
POJOPropertyBuilder
(MapperConfig<?> config, AnnotationIntrospector ai, boolean forSerialization, PropertyName internalName, PropertyName name) -
Uses of AnnotationIntrospector in com.fasterxml.jackson.databind.jdk14
Methods in com.fasterxml.jackson.databind.jdk14 with parameters of type AnnotationIntrospectorModifier and TypeMethodDescriptionstatic AnnotatedConstructor
JDK14Util.findRecordConstructor
(AnnotatedClass recordClass, AnnotationIntrospector intr, MapperConfig<?> config, List<String> names) -
Uses of AnnotationIntrospector in com.fasterxml.jackson.databind.jsontype
Methods in com.fasterxml.jackson.databind.jsontype with parameters of type AnnotationIntrospectorModifier and TypeMethodDescriptionSubtypeResolver.collectAndResolveSubtypes
(AnnotatedClass baseType, MapperConfig<?> config, AnnotationIntrospector ai) Deprecated.SubtypeResolver.collectAndResolveSubtypes
(AnnotatedMember property, MapperConfig<?> config, AnnotationIntrospector ai, JavaType baseType) Deprecated. -
Uses of AnnotationIntrospector in com.fasterxml.jackson.databind.jsontype.impl
Methods in com.fasterxml.jackson.databind.jsontype.impl with parameters of type AnnotationIntrospectorModifier and TypeMethodDescriptionprotected void
StdSubtypeResolver._collectAndResolve
(AnnotatedClass annotatedType, NamedType namedType, MapperConfig<?> config, AnnotationIntrospector ai, HashMap<NamedType, NamedType> collectedSubtypes) Method called to find subtypes for a specific type (class), using type (class) as the unique key (in case of conflicts). -
Uses of AnnotationIntrospector in com.fasterxml.jackson.databind.ser
Fields in com.fasterxml.jackson.databind.ser declared as AnnotationIntrospectorModifier and TypeFieldDescriptionprotected final AnnotationIntrospector
PropertyBuilder._annotationIntrospector
-
Uses of AnnotationIntrospector in com.fasterxml.jackson.databind.util
Fields in com.fasterxml.jackson.databind.util declared as AnnotationIntrospectorModifier and TypeFieldDescriptionprotected final AnnotationIntrospector
SimpleBeanPropertyDefinition._annotationIntrospector
Methods in com.fasterxml.jackson.databind.util with parameters of type AnnotationIntrospectorModifier and TypeMethodDescriptionprotected static Enum
<?> EnumResolver._enumDefault
(AnnotationIntrospector intr, AnnotatedClass annotatedClass, Enum<?>[] enums) Internal helper method used to resolve Enum default value to use (if any).protected static Enum
<?> EnumResolver._enumDefault
(AnnotationIntrospector intr, Class<?> enumCls) Deprecated.Since 2.16.Constructors in com.fasterxml.jackson.databind.util with parameters of type AnnotationIntrospectorModifierConstructorDescriptionprotected
SimpleBeanPropertyDefinition
(AnnotationIntrospector intr, AnnotatedMember member, PropertyName fullName, PropertyMetadata metadata, com.fasterxml.jackson.annotation.JsonInclude.Value inclusion)
BeanProperty.findPropertyFormat(com.fasterxml.jackson.databind.cfg.MapperConfig<?>, java.lang.Class<?>)
instead.