Top Description Fields Constructors Methods
com.fasterxml.jackson.databind.introspect

public Class AnnotationIntrospectorPair

extends AnnotationIntrospector
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Imports
java.lang.annotation.Annotation, java.util.ArrayList, .Collection, .List, com.fasterxml.jackson.annotation.*, com.fasterxml.jackson.core.Version, com.fasterxml.jackson.databind.*, com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder, .JsonSerialize, com.fasterxml.jackson.databind.cfg.MapperConfig, com.fasterxml.jackson.databind.jsontype.NamedType, .TypeResolverBuilder, com.fasterxml.jackson.databind.ser.BeanPropertyWriter, com.fasterxml.jackson.databind.util.ClassUtil, .NameTransformer

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.

An obvious consequence of priority is that it is easy to construct longer chains of introspectors by linking multiple pairs. Currently most likely combination is that of using the default Jackson provider, along with JAXB annotation introspector.

Since
2.1

Field Summary

Modifier and TypeField and Description
protected final AnnotationIntrospector
protected final AnnotationIntrospector
private static final long

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected Object
_explicitClassOrOb(Object maybeCls, Class<?> implicit)

protected boolean
_isExplicitClassOrOb(Object maybeCls, Class<?> implicit)

public Collection<AnnotationIntrospector>
allIntrospectors()

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.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.

public Collection<AnnotationIntrospector>
allIntrospectors(Collection<AnnotationIntrospector>
Container to add introspectors to
result
)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.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.

public static AnnotationIntrospector
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)

public void
findAndAddVirtualProperties(MapperConfig<?> config, AnnotatedClass ac, List<BeanPropertyWriter> properties)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findAndAddVirtualProperties.

Method for adding possible virtual properties to be serialized along with regular properties.

public VisibilityChecker<?>
findAutoDetectVisibility(AnnotatedClass
Annotated class to introspect
ac
,
VisibilityChecker<?>
Default visibility settings in effect before any override
checker
)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findAutoDetectVisibility.

Method for checking if annotations indicate changes to minimum visibility levels needed for auto-detecting property elements (fields, methods, constructors).

public String
findClassDescription(AnnotatedClass
Annotated class to introspect
ac
)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findClassDescription.

Method used to check whether specified class defines a human-readable description to use for documentation.

public Object
findContentDeserializer(Annotated am)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findContentDeserializer.

Method for getting a deserializer definition for content (values) of associated Collection, array or Map property.

public Object
findContentSerializer(Annotated a)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findContentSerializer.

Method for getting a serializer definition for content (values) of associated Collection, array or Map property.

public JsonCreator.Mode
findCreatorAnnotation(MapperConfig<?>
Configuration settings in effect (for serialization or deserialization)
config
,
Annotated
Annotated accessor (usually constructor or static method) to check
a
)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findCreatorAnnotation.

Method called to check whether potential Creator (constructor or static factory method) has explicit annotation to indicate it as actual Creator; and if so, which com.fasterxml.jackson.annotation.JsonCreator.Mode to use.

public JsonCreator.Mode
findCreatorBinding(Annotated
Annotated entity to check
a
)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findCreatorBinding.

Deprecated

Method for finding indication of creator binding mode for a creator (something for which hasCreatorAnnotation returns true), for cases where there may be ambiguity (currently: single-argument creator with implicit but no explicit name for the argument).

public PotentialCreator
findDefaultCreator(MapperConfig<?>
Configuration settings in effect (for deserialization)
config
,
AnnotatedClass
Class being instantiated; defines Creators passed
valueClass
,
List<PotentialCreator>
Constructors value class declares
declaredConstructors
,
List<PotentialCreator>
Factory methods value class declares
declaredFactories
)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findDefaultCreator.

Method called to check if introspector can find a Creator it considers the "Primary Creator": Creator to use as the primary one, when no Creator has explicit annotation (findCreatorAnnotation returns null).

public Enum<?>
findDefaultEnumValue(Class<Enum<?>>
The Enum class to scan for the default value
enumCls
)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findDefaultEnumValue.

Deprecated

Finds the Enum value that should be considered the default value, if possible.

public Enum<?>
findDefaultEnumValue(AnnotatedClass
The Enum class to scan for the default value.
annotatedClass
,
Enum<?>[]
The Enum values of the Enum class.
enumValues
)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findDefaultEnumValue.

Finds the first Enum value that should be considered as default value for unknown Enum values, if present.

public Object
findDeserializationContentConverter(AnnotatedMember
Annotated property (field, method) to check.
a
)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findDeserializationContentConverter.

Method for finding Converter that annotated property has indicated needs to be used for values of container type (this also means that method should only be called for properties of container types, List/Map/array properties).

public Object
findDeserializationConverter(Annotated
Annotated property (field, method) or class to check for annotations
a
)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findDeserializationConverter.

Method for finding Converter that annotated entity (property or class) has indicated to be used as part of deserialization.

public Object
findDeserializer(Annotated a)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findDeserializer.

Method for getting a deserializer definition on specified method or field.

public void
findEnumAliases(Class<?>
Type of Enumeration
enumType
,
Enum<?>[]
Values of enumeration
enumValues
,
String[][]
(in/out) Pre-allocated array where aliases found, if any, may be added (in indexes matching those of enumValues)
aliases
)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findEnumAliases.

Deprecated

Method that is related to findEnumValues but is called to check if there are alternative names (aliased) that can be accepted for entries, in addition to primary names introspected earlier.

public void
findEnumAliases(MapperConfig<?>
The configuration of the mapper
config
,
AnnotatedClass
The annotated class of the enumeration type
annotatedClass
,
Enum<?>[]
The values of the enumeration
enumConstants
,
String[][]
(in/out) Pre-allocated array where aliases found, if any, may be added (in indexes matching those of enumValues)
aliases
)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findEnumAliases.

Method that is called to check if there are alternative names (aliases) that can be accepted for entries in addition to primary names that were introspected earlier, related to findEnumValues.

public Object
findEnumNamingStrategy(MapperConfig<?> config, AnnotatedClass
Annotated class to introspect
ac
)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findEnumNamingStrategy.

Method for finding EnumNamingStrategy for given class, if any specified by annotations; and if so, either return a EnumNamingStrategy instance, or Class to use for creating instance

public String
findEnumValue(Enum<?>
Enum value to introspect
value
)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findEnumValue.

Deprecated

Method for determining the String value to use for serializing given enumeration entry; used when serializing enumerations as Strings (the standard method).

public String[]
findEnumValues(Class<?>
Type of Enumeration
enumType
,
Enum<?>[]
Values of enumeration
enumValues
,
String[]
Matching declared names of enumeration values (with indexes matching enumValues entries)
names
)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findEnumValues.

Deprecated

Method for efficiently figuring out which if given set of Enum values have explicitly defined name.

public String[]
findEnumValues(MapperConfig<?>
the mapper configuration to use
config
,
AnnotatedClass
the annotated class for which to find the explicit names
annotatedClass
,
Enum<?>[]
the set of Enum values to find the explicit names for
enumValues
,
String[]
the matching declared names of enumeration values (with indexes matching enumValues entries)
names
)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findEnumValues.

Finds the explicitly defined name of the given set of Enum values, if any.

public Object
findFilterId(Annotated
Annotated entity to introspect
ann
)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findFilterId.

Method for finding if annotated class has associated filter; and if so, to return id that is used to locate filter.

public JsonFormat.Value
findFormat(Annotated ann)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findFormat.

Method for finding format annotations for property or class.

public String
findImplicitPropertyName(AnnotatedMember ann)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findImplicitPropertyName.

Method for finding implicit name for a property that given annotated member (field, method, creator parameter) may represent.

public JacksonInject.Value
findInjectableValue(AnnotatedMember
Member to check
m
)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findInjectableValue.

Method called to find out whether given member expectes a value to be injected, and if so, what is the identifier of the value to use during injection.

public Object
public Object
findKeyDeserializer(Annotated a)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findKeyDeserializer.

Method for getting a deserializer definition for keys of associated Map property.

public Object
findKeySerializer(Annotated a)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findKeySerializer.

Method for getting a serializer definition for keys of associated java.util.Map property.

public Boolean
findMergeInfo(Annotated
Annotated entity to check
a
)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findMergeInfo.

Method for finding merge settings for property, if any.

public PropertyName
findNameForDeserialization(Annotated
Annotated entity to check
a
)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findNameForDeserialization.

Method for checking whether given property accessors (method, field) has an annotation that suggests property name to use for deserialization (reading JSON into POJOs).

public PropertyName
findNameForSerialization(Annotated
Property accessor to check
a
)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findNameForSerialization.

Method for checking whether given property accessors (method, field) has an annotation that suggests property name to use for serialization.

public Object
findNamingStrategy(AnnotatedClass
Annotated class to introspect
ac
)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findNamingStrategy.

Method for finding PropertyNamingStrategy for given class, if any specified by annotations; and if so, either return a PropertyNamingStrategy instance, or Class to use for creating instance

public Object
findNullSerializer(Annotated a)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findNullSerializer.

Method for getting a serializer definition for serializer to use for nulls (null values) of associated property or type.

public ObjectIdInfo
findObjectIdInfo(Annotated
Annotated entity to introspect
ann
)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findObjectIdInfo.

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.

public ObjectIdInfo
findObjectReferenceInfo(Annotated
Annotated entity to introspect
ann
,
ObjectIdInfo
(optional) Base Object Id information, if any; null if none
objectIdInfo
)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findObjectReferenceInfo.

Method for figuring out additional properties of an Object Identity reference

public Class<?>
findPOJOBuilder(AnnotatedClass
Annotated class to introspect
ac
)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findPOJOBuilder.

Method for finding Builder object to use for constructing value instance and binding data (sort of combining value instantiators that can construct, and deserializers that can bind data).

public JsonPOJOBuilder.Value
public JsonTypeInfo.Value
findPolymorphicTypeInfo(MapperConfig<?>
Effective mapper configuration in use
config
,
Annotated
Annotated entity to introspect
ann
)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findPolymorphicTypeInfo.

Method for checking whether given Class or Property Accessor specifies polymorphic type-handling information, to indicate need for polymorphic handling.

public JsonProperty.Access
findPropertyAccess(Annotated ann)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findPropertyAccess.

Method for finding optional access definition for a property, annotated on one of its accessors.

public List<PropertyName>
findPropertyAliases(Annotated ann)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findPropertyAliases.

Method called to find if given property has alias(es) defined.

public TypeResolverBuilder<?>
findPropertyContentTypeResolver(MapperConfig<?>
Configuration settings in effect (for serialization or deserialization)
config
,
AnnotatedMember
Annotated member (field or method) to check for annotations
am
,
JavaType
Type of property for which resolver is to be found (must be a container type)
baseType
)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findPropertyContentTypeResolver.

Method for checking if given structured property entity (field or method that has nominal value of Map, Collection or array type) has annotations that indicate that specific type resolver is to be used for handling type information of contained values.

public String
findPropertyDefaultValue(Annotated ann)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findPropertyDefaultValue.

Method for finding suggested default value (as simple textual serialization) for the property.

public String
findPropertyDescription(Annotated ann)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findPropertyDescription.

Method used to check whether specified property member (accessor or mutator) defines human-readable description to use for documentation.

public JsonIgnoreProperties.Value
findPropertyIgnoralByName(MapperConfig<?>
Configuration settings in effect (for serialization or deserialization)
config
,
Annotated
Annotated entity (Class, Accessor) to introspect
ann
)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findPropertyIgnoralByName.

Method for finding information about properties to ignore either by name, or by more general specification ("ignore all unknown").

public JsonIgnoreProperties.Value
public JsonInclude.Value
findPropertyInclusion(Annotated a)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findPropertyInclusion.

Method for checking inclusion criteria for a type (Class) or property (yes, method name is bit unfortunate -- not just for properties!).

public JsonIncludeProperties.Value
findPropertyInclusionByName(MapperConfig<?>
Configuration settings in effect (for serialization or deserialization)
config
,
Annotated
Annotated entity (Class, Accessor) to introspect
a
)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findPropertyInclusionByName.

Method for finding information about names of properties to included.

public Integer
findPropertyIndex(Annotated ann)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findPropertyIndex.

Method used to check whether specified property member (accessor or mutator) defines numeric index, and if so, what is the index value.

public TypeResolverBuilder<?>
findPropertyTypeResolver(MapperConfig<?>
Configuration settings in effect (for serialization or deserialization)
config
,
AnnotatedMember
Annotated member (field or method) to check for annotations
am
,
JavaType
Base java type of property for which resolver is to be found
baseType
)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findPropertyTypeResolver.

Method for checking if given property entity (field or method) has annotations that indicate that specific type resolver is to be used for handling instances.

public AnnotationIntrospector.ReferenceProperty
findReferenceType(AnnotatedMember member)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findReferenceType.

Method for checking if given member indicates that it is part of a reference (parent/child).

public PropertyName
findRenameByField(MapperConfig<?>
Effective mapper configuration in use
config
,
AnnotatedField
Field to check
f
,
PropertyName
Implicit name of the field; usually name of field itself but not always, used as the target name for accessors to rename.
implName
)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findRenameByField.

Method called on fields that are eligible candidates for properties (that is, non-static member fields), but not necessarily selected (may or may not be visible), to let fields affect name linking.

public PropertyName
findRootName(AnnotatedClass
Annotated class to introspect
ac
)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findRootName.

Method for locating name used as "root name" (for use by some serializers when outputting root-level object -- mostly for XML compatibility purposes) for given class, if one is defined.

public Object
findSerializationContentConverter(AnnotatedMember
Annotated property (field, method) to check.
a
)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findSerializationContentConverter.

Method for finding Converter that annotated property has indicated needs to be used for values of container type (this also means that method should only be called for properties of container types, List/Map/array properties).

public Object
findSerializationConverter(Annotated
Annotated property (field, method) or class to check for annotations
a
)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findSerializationConverter.

Method for finding Converter that annotated entity (property or class) has indicated to be used as part of serialization.

public String[]
findSerializationPropertyOrder(AnnotatedClass ac)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findSerializationPropertyOrder.

Method for accessing defined property serialization order (which may be partial).

public Boolean
findSerializationSortAlphabetically(Annotated ann)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findSerializationSortAlphabetically.

Method for checking whether an annotation indicates that serialized properties for which no explicit is defined should be alphabetically (lexicograpically) ordered

public JsonSerialize.Typing
findSerializationTyping(Annotated a)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findSerializationTyping.

Method for accessing declared typing mode annotated (if any).

public Object
findSerializer(Annotated am)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findSerializer.

Method for getting a serializer definition on specified method or field.

public JsonSetter.Value
findSetterInfo(Annotated
Annotated entity to check
a
)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findSetterInfo.

Method for finding possible settings for property, given annotations on an accessor.

public List<NamedType>
findSubtypes(Annotated
Annotated entity (class, field/method) to check for annotations
a
)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findSubtypes.

Method for locating annotation-specified subtypes related to annotated entity (class, method, field).

public String
findTypeName(AnnotatedClass
Class to check for type name annotations
ac
)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findTypeName.

Method for checking if specified type has explicit name.

public TypeResolverBuilder<?>
findTypeResolver(MapperConfig<?>
Configuration settings in effect (for serialization or deserialization)
config
,
AnnotatedClass
Annotated class to check for annotations
ac
,
JavaType
Base java type of value for which resolver is to be found
baseType
)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findTypeResolver.

Method for checking if given class has annotations that indicate that specific type resolver is to be used for handling instances.

public NameTransformer
findUnwrappingNameTransformer(AnnotatedMember member)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findUnwrappingNameTransformer.

Method called to check whether given property is marked to be "unwrapped" when being serialized (and appropriately handled in reverse direction, i.e. expect unwrapped representation during deserialization).

public Object
findValueInstantiator(AnnotatedClass
Annotated class to introspect
ac
)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findValueInstantiator.

Method getting ValueInstantiator to use for given type (class): return value can either be an instance of instantiator, or class of instantiator to create.

public Class<?>[]
findViews(Annotated
Annotated property (represented by a method, field or ctor parameter)
a
)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findViews.

Method for checking if annotated property (represented by a field or getter/setter method) has definitions for views it is to be included in. If null is returned, no view definitions exist and property is always included (or always excluded as per default view inclusion configuration); otherwise it will only be included for views included in returned array.

public PropertyName
findWrapperName(Annotated ann)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.findWrapperName.

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.

public Boolean
hasAnyGetter(Annotated
Annotated entity to check
a
)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.hasAnyGetter.

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.

public boolean
public Boolean
hasAnySetter(Annotated
Annotated entity to check
a
)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.hasAnySetter.

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.

public boolean
public Boolean
hasAsKey(MapperConfig<?> config, Annotated a)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.hasAsKey.

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.

public Boolean
hasAsValue(Annotated a)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.hasAsValue.

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.

public boolean
public boolean
hasCreatorAnnotation(Annotated
Annotated entity to check
a
)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.hasCreatorAnnotation.

Deprecated

Method for checking whether given annotated item (method, constructor) has an annotation that suggests that the method is a "creator" (aka factory) method to be used for construct new instances of deserialized values.

public boolean
hasIgnoreMarker(AnnotatedMember m)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.hasIgnoreMarker.

Method called to check whether given property is marked to be ignored.

public Boolean
hasRequiredMarker(AnnotatedMember m)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.hasRequiredMarker.

Method that can be called to check whether this member has an annotation that suggests whether value for matching property is required or not.

public boolean
isAnnotationBundle(Annotation
Annotated entity to introspect
ann
)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.isAnnotationBundle.

Method for checking whether given annotation is considered an annotation bundle: if so, all meta-annotations it has will be used instead of annotation ("bundle") itself.

public Boolean
isIgnorableType(AnnotatedClass
Annotated class to introspect
ac
)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.isIgnorableType.

Method for checking whether properties that have specified type (class, not generics aware) should be completely ignored for serialization and deserialization purposes.

public Boolean
isTypeId(AnnotatedMember
Annotated accessor (field/method/constructor parameter) to check for annotations
member
)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.isTypeId.

Method for checking whether given accessor claims to represent type id: if so, its value may be used as an override, instead of generated type id.

public JavaType
refineDeserializationType(MapperConfig<?> config, Annotated a, JavaType baseType)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.refineDeserializationType.

Method called to find out possible type refinements to use for deserialization.

public JavaType
refineSerializationType(MapperConfig<?> config, Annotated a, JavaType baseType)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.refineSerializationType.

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.

public AnnotatedMethod
resolveSetterConflict(MapperConfig<?> config, AnnotatedMethod setter1, AnnotatedMethod setter2)

Overrides com.fasterxml.jackson.databind.AnnotationIntrospector.resolveSetterConflict.

Method called in cases where a class has two methods eligible to be used for the same logical property, and default logic is not enough to figure out clear precedence.

public Version
version()

Implements abstract com.fasterxml.jackson.databind.AnnotationIntrospector.version.

Implements com.fasterxml.jackson.core.Versioned.version.

Method called to detect version of the component that implements this interface; returned version should never be null, but may return specific "not available" instance (see Version for details).

Inherited from com.fasterxml.jackson.databind.AnnotationIntrospector:
_findAnnotation_hasAnnotation_hasOneOffindIgnoreUnknownPropertiesfindPropertiesToIgnorenopInstancepair