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 AnnotationIntrospectorObjectMapper.DEFAULT_ANNOTATION_INTROSPECTORMethods in com.fasterxml.jackson.databind that return AnnotationIntrospectorModifier and TypeMethodDescriptionabstract AnnotationIntrospectorDatabindContext.getAnnotationIntrospector()Convenience method for accessing serialization view in use (if any); equivalent to:final AnnotationIntrospectorDeserializationContext.getAnnotationIntrospector()final AnnotationIntrospectorSerializerProvider.getAnnotationIntrospector()static AnnotationIntrospectorAnnotationIntrospector.nopInstance()Factory method for accessing "no operation" implementation of introspector: instance that will never find any annotation-based configuration.static AnnotationIntrospectorAnnotationIntrospector.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 TypeMethodDescriptionvoidModule.SetupContext.appendAnnotationIntrospector(AnnotationIntrospector ai) Method for registering specifiedAnnotationIntrospectoras the lowest priority introspector, chained with existing introspector(s) and called as fallback for cases not otherwise handled.com.fasterxml.jackson.annotation.JsonFormat.ValueBeanProperty.Bogus.findFormatOverrides(AnnotationIntrospector intr) Deprecated.com.fasterxml.jackson.annotation.JsonFormat.ValueBeanProperty.findFormatOverrides(AnnotationIntrospector intr) Deprecated.com.fasterxml.jackson.annotation.JsonFormat.ValueBeanProperty.Std.findFormatOverrides(AnnotationIntrospector intr) Deprecated.voidModule.SetupContext.insertAnnotationIntrospector(AnnotationIntrospector ai) Method for registering specifiedAnnotationIntrospectoras 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 AnnotationIntrospectorAnnotationIntrospector.pair(AnnotationIntrospector a1, AnnotationIntrospector a2) ObjectMapper.setAnnotationIntrospector(AnnotationIntrospector ai) Method for settingAnnotationIntrospectorused by this mapper instance for both serialization and deserialization.ObjectMapper.setAnnotationIntrospectors(AnnotationIntrospector serializerAI, AnnotationIntrospector deserializerAI) Method for changingAnnotationIntrospectorinstances 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 AnnotationIntrospectorBaseSettings._annotationIntrospectorIntrospector used for accessing annotation value based configuration.Methods in com.fasterxml.jackson.databind.cfg that return AnnotationIntrospectorModifier and TypeMethodDescriptionBaseSettings.getAnnotationIntrospector()MapperConfig.getAnnotationIntrospector()Method for gettingAnnotationIntrospectorconfigured 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 replacingAnnotationIntrospectorused by the mapper instance to be built.final TMapperConfigBase.with(AnnotationIntrospector ai) Method for constructing and returning a new instance with differentAnnotationIntrospectorto use (replacing old one).BaseSettings.withAnnotationIntrospector(AnnotationIntrospector ai) BaseSettings.withAppendedAnnotationIntrospector(AnnotationIntrospector ai) final TMapperConfigBase.withAppendedAnnotationIntrospector(AnnotationIntrospector ai) Method for constructing and returning a new instance with additionalAnnotationIntrospectorappended (as the lowest priority one)BaseSettings.withInsertedAnnotationIntrospector(AnnotationIntrospector ai) final TMapperConfigBase.withInsertedAnnotationIntrospector(AnnotationIntrospector ai) Method for constructing and returning a new instance with additionalAnnotationIntrospectorinserted (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 takesCacheProviderinstead.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 BeanDeserializerBaseBeanDeserializerBase._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 CreatorCandidateCreatorCandidate.construct(AnnotationIntrospector intr, AnnotatedWithParams creator, BeanPropertyDefinition[] propDefs) Constructors in com.fasterxml.jackson.databind.deser.impl with parameters of type AnnotationIntrospectorModifierConstructorDescriptionprotectedCreatorCandidate(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 TypeClassDescriptionclassHelper 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.classAnnotationIntrospectorimplementation that handles standard Jackson annotations.classDummy, "no-operation" implementation ofAnnotationIntrospector.Fields in com.fasterxml.jackson.databind.introspect declared as AnnotationIntrospectorModifier and TypeFieldDescriptionprotected final AnnotationIntrospectorAnnotatedClass._annotationIntrospectorFilter used to determine which annotations to gather; used to optimize things so that unnecessary annotations are ignored.protected final AnnotationIntrospectorBasicBeanDescription._annotationIntrospectorprotected final AnnotationIntrospectorPOJOPropertiesCollector._annotationIntrospectorprotected final AnnotationIntrospectorPOJOPropertyBuilder._annotationIntrospectorprotected final AnnotationIntrospectorCollectorBase._intrprotected final AnnotationIntrospectorCollectorBase._intrprotected final AnnotationIntrospectorAnnotationIntrospectorPair._primaryprotected final AnnotationIntrospectorAnnotationIntrospectorPair._secondaryMethods in com.fasterxml.jackson.databind.introspect that return AnnotationIntrospectorModifier and TypeMethodDescriptionstatic AnnotationIntrospectorAnnotationIntrospectorPair.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 voidPOJOPropertiesCollector._addGetterMethod(Map<String, POJOPropertyBuilder> props, AnnotatedMethod m, AnnotationIntrospector ai) protected voidPOJOPropertiesCollector._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 AnnotatedMethodMapAnnotatedMethodCollector.collectMethods(AnnotationIntrospector intr, TypeResolutionContext tc, ClassIntrospector.MixInResolver mixins, TypeFactory types, JavaType type, List<JavaType> superTypes, Class<?> primaryMixIn, boolean collectAnnotations) static AnnotationIntrospectorAnnotationIntrospectorPair.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.ValueConcreteBeanPropertyBase.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) protectedPOJOPropertyBuilder(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 AnnotatedConstructorJDK14Util.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 voidStdSubtypeResolver._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 AnnotationIntrospectorPropertyBuilder._annotationIntrospector -
Uses of AnnotationIntrospector in com.fasterxml.jackson.databind.util
Fields in com.fasterxml.jackson.databind.util declared as AnnotationIntrospectorModifier and TypeFieldDescriptionprotected final AnnotationIntrospectorSimpleBeanPropertyDefinition._annotationIntrospectorMethods 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 AnnotationIntrospectorModifierConstructorDescriptionprotectedSimpleBeanPropertyDefinition(AnnotationIntrospector intr, AnnotatedMember member, PropertyName fullName, PropertyMetadata metadata, com.fasterxml.jackson.annotation.JsonInclude.Value inclusion)
BeanProperty.findPropertyFormat(MapperConfig, Class)instead.