Uses of Class
tools.jackson.databind.introspect.AnnotatedMethod
Packages that use AnnotatedMethod
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.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.
Package that contains standard value and key deserializer implementations
Jackson uses for core JDK types.
Functionality needed for Bean introspection, required for detecting
accessors and mutators for Beans, as well as locating and handling
method annotations.
Utility classes for Mapper package.
-
Uses of AnnotatedMethod in tools.jackson.databind
Methods in tools.jackson.databind that return AnnotatedMethodModifier and TypeMethodDescriptionabstract AnnotatedMethod
BeanDescription.findMethod
(String name, Class<?>[] paramTypes) AnnotationIntrospector.resolveSetterConflict
(MapperConfig<?> config, AnnotatedMethod setter1, AnnotatedMethod setter2) 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.Methods in tools.jackson.databind that return types with arguments of type AnnotatedMethodModifier and TypeMethodDescriptionabstract List<AnnotatedMethod>
BeanDescription.getFactoryMethods()
Helper method that will check all static methods of the bean class that seem like factory methods eligible to be used as Creators.abstract List<AnnotatedAndMetadata<AnnotatedMethod,
JsonCreator.Mode>> BeanDescription.getFactoryMethodsWithMode()
Method similar toBeanDescription.getFactoryMethods()
but will returnJsonCreator.Mode
metadata along with qualifying factory method candidates.Methods in tools.jackson.databind with parameters of type AnnotatedMethodModifier and TypeMethodDescriptionPropertyNamingStrategies.NamingBase.nameForGetterMethod
(MapperConfig<?> config, AnnotatedMethod method, String defaultName) PropertyNamingStrategy.nameForGetterMethod
(MapperConfig<?> config, AnnotatedMethod method, String defaultName) Method called to find external name (name used in JSON) for given logical POJO property, as defined by given getter method; typically called when building a serializer.PropertyNamingStrategies.NamingBase.nameForSetterMethod
(MapperConfig<?> config, AnnotatedMethod method, String defaultName) PropertyNamingStrategy.nameForSetterMethod
(MapperConfig<?> config, AnnotatedMethod method, String defaultName) Method called to find external name (name used in JSON) for given logical POJO property, as defined by given setter method; typically called when building a deserializer (but not necessarily only then).AnnotationIntrospector.resolveSetterConflict
(MapperConfig<?> config, AnnotatedMethod setter1, AnnotatedMethod setter2) 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. -
Uses of AnnotatedMethod in tools.jackson.databind.deser
Fields in tools.jackson.databind.deser declared as AnnotatedMethodModifier and TypeFieldDescriptionprotected AnnotatedMethod
BeanDeserializerBuilder._buildMethod
When creating Builder-based deserializers, this indicates method to call on builder to finalize value.Methods in tools.jackson.databind.deser that return AnnotatedMethodMethods in tools.jackson.databind.deser with parameters of type AnnotatedMethodModifier and TypeMethodDescriptionvoid
BeanDeserializerBuilder.setPOJOBuilder
(AnnotatedMethod buildMethod, JsonPOJOBuilder.Value config) -
Uses of AnnotatedMethod in tools.jackson.databind.deser.bean
Fields in tools.jackson.databind.deser.bean declared as AnnotatedMethodModifier and TypeFieldDescriptionprotected final AnnotatedMethod
BeanAsArrayBuilderDeserializer._buildMethod
protected final AnnotatedMethod
BuilderBasedDeserializer._buildMethod
Constructors in tools.jackson.databind.deser.bean with parameters of type AnnotatedMethodModifierConstructorDescriptionBeanAsArrayBuilderDeserializer
(BeanDeserializerBase delegate, JavaType targetType, SettableBeanProperty[] ordered, AnnotatedMethod buildMethod) Main constructor used both for creating new instances (byBeanDeserializer.asArrayDeserializer()
) and for creating copies with different delegate. -
Uses of AnnotatedMethod in tools.jackson.databind.deser.impl
Fields in tools.jackson.databind.deser.impl declared as AnnotatedMethodModifier and TypeFieldDescriptionprotected final AnnotatedMethod
MethodProperty._annotated
protected final AnnotatedMethod
SetterlessProperty._annotated
Constructors in tools.jackson.databind.deser.impl with parameters of type AnnotatedMethodModifierConstructorDescriptionMethodProperty
(BeanPropertyDefinition propDef, JavaType type, TypeDeserializer typeDeser, Annotations contextAnnotations, AnnotatedMethod method) SetterlessProperty
(BeanPropertyDefinition propDef, JavaType type, TypeDeserializer typeDeser, Annotations contextAnnotations, AnnotatedMethod method) -
Uses of AnnotatedMethod in tools.jackson.databind.deser.jdk
Methods in tools.jackson.databind.deser.jdk with parameters of type AnnotatedMethodModifier and TypeMethodDescriptionstatic KeyDeserializer
JDKKeyDeserializers.constructEnumKeyDeserializer
(EnumResolver enumResolver, AnnotatedMethod factory, EnumResolver enumNamingResolver, EnumResolver byToStringResolver, EnumResolver byIndexResolver) static ValueDeserializer<?>
EnumDeserializer.deserializerForCreator
(DeserializationConfig config, Class<?> enumClass, AnnotatedMethod factory, ValueInstantiator valueInstantiator, SettableBeanProperty[] creatorProps, EnumResolver byNameResolver) Factory method used when Enum instances are to be deserialized using a creator (static factory method)static ValueDeserializer<?>
EnumDeserializer.deserializerForNoArgsCreator
(DeserializationConfig config, Class<?> enumClass, AnnotatedMethod factory) Factory method used when Enum instances are to be deserialized using a zero-/no-args factory method -
Uses of AnnotatedMethod in tools.jackson.databind.introspect
Fields in tools.jackson.databind.introspect with type parameters of type AnnotatedMethodModifier and TypeFieldDescriptionprotected LinkedList<AnnotatedMethod>
POJOPropertiesCollector._anySetters
protected POJOPropertyBuilder.Linked<AnnotatedMethod>
POJOPropertyBuilder._getters
protected Map<MemberKey,
AnnotatedMethod> AnnotatedMethodMap._methods
protected POJOPropertyBuilder.Linked<AnnotatedMethod>
POJOPropertyBuilder._setters
final List<AnnotatedMethod>
AnnotatedClass.Creators.creatorMethods
Single argument static methods that might be usable as factory methodsMethods in tools.jackson.databind.introspect that return AnnotatedMethodModifier and TypeMethodDescriptionprotected AnnotatedMethod
POJOPropertyBuilder._selectSetter
(AnnotatedMethod currM, AnnotatedMethod nextM) protected AnnotatedMethod
POJOPropertyBuilder._selectSetterFromMultiple
(POJOPropertyBuilder.Linked<AnnotatedMethod> curr, POJOPropertyBuilder.Linked<AnnotatedMethod> next) Helper method called in cases where we have encountered two setter methods that have same precedence and cannot be resolved.AnnotatedClass.findMethod
(String name, Class<?>[] paramTypes) BasicBeanDescription.findMethod
(String name, Class<?>[] paramTypes) POJOPropertiesCollector.getAnySetterMethod()
abstract AnnotatedMethod
BeanPropertyDefinition.getGetter()
POJOPropertyBuilder.getGetter()
protected AnnotatedMethod
POJOPropertyBuilder.getGetterUnchecked()
Variant ofPOJOPropertyBuilder.getGetter()
that does NOT trigger pruning of getter candidates.abstract AnnotatedMethod
BeanPropertyDefinition.getSetter()
POJOPropertyBuilder.getSetter()
protected AnnotatedMethod
POJOPropertyBuilder.getSetterUnchecked()
Variant ofPOJOPropertyBuilder.getSetter()
that does NOT trigger pruning of setter candidates.AnnotationIntrospectorPair.resolveSetterConflict
(MapperConfig<?> config, AnnotatedMethod setter1, AnnotatedMethod setter2) JacksonAnnotationIntrospector.resolveSetterConflict
(MapperConfig<?> config, AnnotatedMethod setter1, AnnotatedMethod setter2) AnnotatedMethod.withAnnotations
(AnnotationMap ann) Methods in tools.jackson.databind.introspect that return types with arguments of type AnnotatedMethodModifier and TypeMethodDescriptionprotected AnnotatedAndMetadata<AnnotatedMethod,
JsonCreator.Mode> BasicBeanDescription.findFactoryMethodMetadata
(AnnotatedMethod am) AnnotatedClass.getFactoryMethods()
BasicBeanDescription.getFactoryMethods()
BasicBeanDescription.getFactoryMethodsWithMode()
AnnotatedMethodMap.iterator()
AnnotatedClass.memberMethods()
Methods in tools.jackson.databind.introspect with parameters of type AnnotatedMethodModifier and TypeMethodDescriptionprotected void
POJOPropertiesCollector._addGetterMethod
(Map<String, POJOPropertyBuilder> props, AnnotatedMethod m) protected void
POJOPropertiesCollector._addSetterMethod
(Map<String, POJOPropertyBuilder> props, AnnotatedMethod m) protected int
POJOPropertyBuilder._getterPriority
(AnnotatedMethod m) protected boolean
DefaultAccessorNamingStrategy._isGroovyMetaClassGetter
(AnnotatedMethod am) protected AnnotatedMethod
POJOPropertyBuilder._selectSetter
(AnnotatedMethod currM, AnnotatedMethod nextM) protected int
POJOPropertyBuilder._setterPriority
(AnnotatedMethod m) void
POJOPropertyBuilder.addGetter
(AnnotatedMethod a, PropertyName name, boolean explName, boolean visible, boolean ignored) void
POJOPropertyBuilder.addSetter
(AnnotatedMethod a, PropertyName name, boolean explName, boolean visible, boolean ignored) protected AnnotatedAndMetadata<AnnotatedMethod,
JsonCreator.Mode> BasicBeanDescription.findFactoryMethodMetadata
(AnnotatedMethod am) AccessorNamingStrategy.Base.findNameForIsGetter
(AnnotatedMethod method, String name) abstract String
AccessorNamingStrategy.findNameForIsGetter
(AnnotatedMethod method, String name) Method called to find whether given method would be considered an "is-getter" getter method in context of type introspected, and if so, what is the logical property it is associated with (which in turn suggest external name for property)DefaultAccessorNamingStrategy.findNameForIsGetter
(AnnotatedMethod am, String name) AccessorNamingStrategy.Base.findNameForMutator
(AnnotatedMethod method, String name) abstract String
AccessorNamingStrategy.findNameForMutator
(AnnotatedMethod method, String name) Method called to find whether given method would be considered a "mutator" (usually setter, but for builders "with-method" or similar) in context of type introspected, and if so, what is the logical property it is associated with (which in turn suggest external name for property)DefaultAccessorNamingStrategy.findNameForMutator
(AnnotatedMethod am, String name) AccessorNamingStrategy.Base.findNameForRegularGetter
(AnnotatedMethod method, String name) abstract String
AccessorNamingStrategy.findNameForRegularGetter
(AnnotatedMethod method, String name) Method called to find whether given method would be considered a "regular" getter method in context of type introspected, and if so, what is the logical property it is associated with (which in turn suggest external name for property)DefaultAccessorNamingStrategy.findNameForRegularGetter
(AnnotatedMethod am, String name) DefaultAccessorNamingStrategy.RecordNaming.findNameForRegularGetter
(AnnotatedMethod am, String name) protected boolean
BasicBeanDescription.isFactoryMethod
(AnnotatedMethod am) boolean
VisibilityChecker.isGetterVisible
(AnnotatedMethod m) Method for checking whether given method is auto-detectable as regular getter, with respect to its visibility (not considering method signature or name, just visibility)boolean
VisibilityChecker.isIsGetterVisible
(AnnotatedMethod m) Method for checking whether given method is auto-detectable as is-getter, with respect to its visibility (not considering method signature or name, just visibility)boolean
VisibilityChecker.isSetterVisible
(AnnotatedMethod m) Method for checking whether given method is auto-detectable as setter, with respect to its visibility (not considering method signature or name, just visibility)AnnotationIntrospectorPair.resolveSetterConflict
(MapperConfig<?> config, AnnotatedMethod setter1, AnnotatedMethod setter2) JacksonAnnotationIntrospector.resolveSetterConflict
(MapperConfig<?> config, AnnotatedMethod setter1, AnnotatedMethod setter2) Method parameters in tools.jackson.databind.introspect with type arguments of type AnnotatedMethodModifier and TypeMethodDescriptionprotected AnnotatedMethod
POJOPropertyBuilder._selectSetterFromMultiple
(POJOPropertyBuilder.Linked<AnnotatedMethod> curr, POJOPropertyBuilder.Linked<AnnotatedMethod> next) Helper method called in cases where we have encountered two setter methods that have same precedence and cannot be resolved.Constructor parameters in tools.jackson.databind.introspect with type arguments of type AnnotatedMethod -
Uses of AnnotatedMethod in tools.jackson.databind.util
Methods in tools.jackson.databind.util that return AnnotatedMethod