Uses of Class
com.fasterxml.jackson.databind.introspect.AnnotatedMethod
-
Packages that use AnnotatedMethod Package Description com.fasterxml.jackson.databind 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.com.fasterxml.jackson.databind.deser Contains implementation classes of deserialization part of data binding.com.fasterxml.jackson.databind.deser.impl Contains those implementation classes of deserialization part of data binding that are not considered part of public or semi-public interfaces.com.fasterxml.jackson.databind.deser.std Contains public standard implementations of abstraction that Jackson uses.com.fasterxml.jackson.databind.introspect Functionality needed for Bean introspection, required for detecting accessors and mutators for Beans, as well as locating and handling method annotations.com.fasterxml.jackson.databind.util Utility classes for Mapper package. -
-
Uses of AnnotatedMethod in com.fasterxml.jackson.databind
Methods in com.fasterxml.jackson.databind that return AnnotatedMethod Modifier and Type Method Description AnnotatedMethod
BeanDescription. findAnySetter()
Deprecated.Since 2.9: useBeanDescription.findAnySetterAccessor()
insteadabstract AnnotatedMethod
BeanDescription. findJsonValueMethod()
Deprecated.abstract AnnotatedMethod
BeanDescription. findMethod(java.lang.String name, java.lang.Class<?>[] paramTypes)
AnnotatedMethod
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 com.fasterxml.jackson.databind that return types with arguments of type AnnotatedMethod Modifier and Type Method Description abstract java.util.List<AnnotatedMethod>
BeanDescription. getFactoryMethods()
Methods in com.fasterxml.jackson.databind with parameters of type AnnotatedMethod Modifier and Type Method Description boolean
AnnotationIntrospector. hasAnyGetterAnnotation(AnnotatedMethod am)
Deprecated.Since 2.9 UseAnnotationIntrospector.hasAnyGetter(com.fasterxml.jackson.databind.introspect.Annotated)
insteadboolean
AnnotationIntrospector. hasAnySetterAnnotation(AnnotatedMethod am)
Deprecated.Since 2.9 useAnnotationIntrospector.hasAnySetter(com.fasterxml.jackson.databind.introspect.Annotated)
instead.boolean
AnnotationIntrospector. hasAsValueAnnotation(AnnotatedMethod am)
Deprecated.Since 2.9 UseAnnotationIntrospector.hasAsValue(Annotated)
instead.java.lang.String
PropertyNamingStrategies.NamingBase. nameForGetterMethod(MapperConfig<?> config, AnnotatedMethod method, java.lang.String defaultName)
java.lang.String
PropertyNamingStrategy. nameForGetterMethod(MapperConfig<?> config, AnnotatedMethod method, java.lang.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.java.lang.String
PropertyNamingStrategy.PropertyNamingStrategyBase. nameForGetterMethod(MapperConfig<?> config, AnnotatedMethod method, java.lang.String defaultName)
Deprecated.java.lang.String
PropertyNamingStrategies.NamingBase. nameForSetterMethod(MapperConfig<?> config, AnnotatedMethod method, java.lang.String defaultName)
java.lang.String
PropertyNamingStrategy. nameForSetterMethod(MapperConfig<?> config, AnnotatedMethod method, java.lang.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).java.lang.String
PropertyNamingStrategy.PropertyNamingStrategyBase. nameForSetterMethod(MapperConfig<?> config, AnnotatedMethod method, java.lang.String defaultName)
Deprecated.AnnotatedMethod
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 com.fasterxml.jackson.databind.deser
Fields in com.fasterxml.jackson.databind.deser declared as AnnotatedMethod Modifier and Type Field Description protected AnnotatedMethod
BeanDeserializerBuilder. _buildMethod
When creating Builder-based deserializers, this indicates method to call on builder to finalize value.protected AnnotatedMethod
BuilderBasedDeserializer. _buildMethod
Methods in com.fasterxml.jackson.databind.deser that return AnnotatedMethod Modifier and Type Method Description protected AnnotatedMethod
BasicDeserializerFactory. _findJsonValueFor(DeserializationConfig config, JavaType enumType)
Deprecated.since 2.8 callfindJsonValueMethod
onBeanDescription
insteadAnnotatedMethod
BeanDeserializerBuilder. getBuildMethod()
Methods in com.fasterxml.jackson.databind.deser with parameters of type AnnotatedMethod Modifier and Type Method Description void
BeanDeserializerBuilder. setPOJOBuilder(AnnotatedMethod buildMethod, JsonPOJOBuilder.Value config)
-
Uses of AnnotatedMethod in com.fasterxml.jackson.databind.deser.impl
Fields in com.fasterxml.jackson.databind.deser.impl declared as AnnotatedMethod Modifier and Type Field Description protected AnnotatedMethod
MethodProperty. _annotated
protected AnnotatedMethod
SetterlessProperty. _annotated
protected AnnotatedMethod
BeanAsArrayBuilderDeserializer. _buildMethod
Constructors in com.fasterxml.jackson.databind.deser.impl with parameters of type AnnotatedMethod Constructor Description BeanAsArrayBuilderDeserializer(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.MethodProperty(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 com.fasterxml.jackson.databind.deser.std
Methods in com.fasterxml.jackson.databind.deser.std with parameters of type AnnotatedMethod Modifier and Type Method Description static KeyDeserializer
StdKeyDeserializers. constructEnumKeyDeserializer(EnumResolver enumResolver, AnnotatedMethod factory)
static JsonDeserializer<?>
EnumDeserializer. deserializerForCreator(DeserializationConfig config, java.lang.Class<?> enumClass, AnnotatedMethod factory)
Deprecated.Since 2.8static JsonDeserializer<?>
EnumDeserializer. deserializerForCreator(DeserializationConfig config, java.lang.Class<?> enumClass, AnnotatedMethod factory, ValueInstantiator valueInstantiator, SettableBeanProperty[] creatorProps)
Factory method used when Enum instances are to be deserialized using a creator (static factory method)static JsonDeserializer<?>
EnumDeserializer. deserializerForNoArgsCreator(DeserializationConfig config, java.lang.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 com.fasterxml.jackson.databind.introspect
Fields in com.fasterxml.jackson.databind.introspect with type parameters of type AnnotatedMethod Modifier and Type Field Description protected java.util.LinkedList<AnnotatedMethod>
POJOPropertiesCollector. _anySetters
protected POJOPropertyBuilder.Linked<AnnotatedMethod>
POJOPropertyBuilder. _getters
protected java.util.Map<MemberKey,AnnotatedMethod>
AnnotatedMethodMap. _methods
protected POJOPropertyBuilder.Linked<AnnotatedMethod>
POJOPropertyBuilder. _setters
java.util.List<AnnotatedMethod>
AnnotatedClass.Creators. creatorMethods
Single argument static methods that might be usable as factory methodsMethods in com.fasterxml.jackson.databind.introspect that return AnnotatedMethod Modifier and Type Method Description AnnotatedMethod
AnnotatedMethodMap. find(java.lang.reflect.Method m)
AnnotatedMethod
AnnotatedMethodMap. find(java.lang.String name, java.lang.Class<?>[] paramTypes)
AnnotatedMethod
BasicBeanDescription. findJsonValueMethod()
Deprecated.AnnotatedMethod
AnnotatedClass. findMethod(java.lang.String name, java.lang.Class<?>[] paramTypes)
AnnotatedMethod
BasicBeanDescription. findMethod(java.lang.String name, java.lang.Class<?>[] paramTypes)
AnnotatedMethod
POJOPropertiesCollector. getAnySetterMethod()
abstract AnnotatedMethod
BeanPropertyDefinition. getGetter()
AnnotatedMethod
POJOPropertyBuilder. getGetter()
AnnotatedMethod
POJOPropertiesCollector. getJsonValueMethod()
Deprecated.abstract AnnotatedMethod
BeanPropertyDefinition. getSetter()
AnnotatedMethod
POJOPropertyBuilder. getSetter()
AnnotatedMethod
AnnotationIntrospectorPair. resolveSetterConflict(MapperConfig<?> config, AnnotatedMethod setter1, AnnotatedMethod setter2)
AnnotatedMethod
JacksonAnnotationIntrospector. resolveSetterConflict(MapperConfig<?> config, AnnotatedMethod setter1, AnnotatedMethod setter2)
AnnotatedMethod
AnnotatedMethod. withAnnotations(AnnotationMap ann)
Methods in com.fasterxml.jackson.databind.introspect that return types with arguments of type AnnotatedMethod Modifier and Type Method Description java.util.List<AnnotatedMethod>
AnnotatedClass. getFactoryMethods()
java.util.List<AnnotatedMethod>
BasicBeanDescription. getFactoryMethods()
java.util.List<AnnotatedMethod>
AnnotatedClass. getStaticMethods()
Deprecated.Since 2.9; useAnnotatedClass.getFactoryMethods()
instead.java.util.Iterator<AnnotatedMethod>
AnnotatedMethodMap. iterator()
java.lang.Iterable<AnnotatedMethod>
AnnotatedClass. memberMethods()
Methods in com.fasterxml.jackson.databind.introspect with parameters of type AnnotatedMethod Modifier and Type Method Description protected void
POJOPropertiesCollector. _addGetterMethod(java.util.Map<java.lang.String,POJOPropertyBuilder> props, AnnotatedMethod m, AnnotationIntrospector ai)
protected void
POJOPropertiesCollector. _addSetterMethod(java.util.Map<java.lang.String,POJOPropertyBuilder> props, AnnotatedMethod m, AnnotationIntrospector ai)
protected int
POJOPropertyBuilder. _getterPriority(AnnotatedMethod m)
protected boolean
DefaultAccessorNamingStrategy. _isCglibGetCallbacks(AnnotatedMethod am)
protected boolean
DefaultAccessorNamingStrategy. _isGroovyMetaClassGetter(AnnotatedMethod am)
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)
java.lang.String
AccessorNamingStrategy.Base. findNameForIsGetter(AnnotatedMethod method, java.lang.String name)
abstract java.lang.String
AccessorNamingStrategy. findNameForIsGetter(AnnotatedMethod method, java.lang.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)java.lang.String
DefaultAccessorNamingStrategy. findNameForIsGetter(AnnotatedMethod am, java.lang.String name)
java.lang.String
AccessorNamingStrategy.Base. findNameForMutator(AnnotatedMethod method, java.lang.String name)
abstract java.lang.String
AccessorNamingStrategy. findNameForMutator(AnnotatedMethod method, java.lang.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)java.lang.String
DefaultAccessorNamingStrategy. findNameForMutator(AnnotatedMethod am, java.lang.String name)
java.lang.String
AccessorNamingStrategy.Base. findNameForRegularGetter(AnnotatedMethod method, java.lang.String name)
abstract java.lang.String
AccessorNamingStrategy. findNameForRegularGetter(AnnotatedMethod method, java.lang.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)java.lang.String
DefaultAccessorNamingStrategy. findNameForRegularGetter(AnnotatedMethod am, java.lang.String name)
java.lang.String
DefaultAccessorNamingStrategy.RecordNaming. findNameForRegularGetter(AnnotatedMethod am, java.lang.String name)
boolean
AnnotationIntrospectorPair. hasAnyGetterAnnotation(AnnotatedMethod am)
Deprecated.boolean
JacksonAnnotationIntrospector. hasAnyGetterAnnotation(AnnotatedMethod am)
Deprecated.boolean
AnnotationIntrospectorPair. hasAnySetterAnnotation(AnnotatedMethod am)
Deprecated.boolean
JacksonAnnotationIntrospector. hasAnySetterAnnotation(AnnotatedMethod am)
Deprecated.boolean
AnnotationIntrospectorPair. hasAsValueAnnotation(AnnotatedMethod am)
Deprecated.boolean
JacksonAnnotationIntrospector. hasAsValueAnnotation(AnnotatedMethod am)
Deprecated.protected boolean
BasicBeanDescription. isFactoryMethod(AnnotatedMethod am)
boolean
VisibilityChecker. isGetterVisible(AnnotatedMethod m)
boolean
VisibilityChecker.Std. isGetterVisible(AnnotatedMethod m)
boolean
VisibilityChecker. isIsGetterVisible(AnnotatedMethod m)
boolean
VisibilityChecker.Std. isIsGetterVisible(AnnotatedMethod m)
boolean
VisibilityChecker. isSetterVisible(AnnotatedMethod m)
boolean
VisibilityChecker.Std. isSetterVisible(AnnotatedMethod m)
AnnotatedMethod
AnnotationIntrospectorPair. resolveSetterConflict(MapperConfig<?> config, AnnotatedMethod setter1, AnnotatedMethod setter2)
AnnotatedMethod
JacksonAnnotationIntrospector. resolveSetterConflict(MapperConfig<?> config, AnnotatedMethod setter1, AnnotatedMethod setter2)
Constructor parameters in com.fasterxml.jackson.databind.introspect with type arguments of type AnnotatedMethod Constructor Description AnnotatedMethodMap(java.util.Map<MemberKey,AnnotatedMethod> m)
-
Uses of AnnotatedMethod in com.fasterxml.jackson.databind.util
Methods in com.fasterxml.jackson.databind.util that return AnnotatedMethod Modifier and Type Method Description AnnotatedMethod
SimpleBeanPropertyDefinition. getGetter()
AnnotatedMethod
SimpleBeanPropertyDefinition. getSetter()
Methods in com.fasterxml.jackson.databind.util with parameters of type AnnotatedMethod Modifier and Type Method Description protected static boolean
BeanUtil. isCglibGetCallbacks(AnnotatedMethod am)
This method was added to address the need to weed out CGLib-injected "getCallbacks" method.protected static boolean
BeanUtil. isGroovyMetaClassGetter(AnnotatedMethod am)
Another helper method to deal with Groovy's problematic metadata accessorsstatic java.lang.String
BeanUtil. okNameForGetter(AnnotatedMethod am, boolean stdNaming)
Deprecated.Since 2.12 replaced withAccessorNamingStrategy
static java.lang.String
BeanUtil. okNameForIsGetter(AnnotatedMethod am, java.lang.String name, boolean stdNaming)
Deprecated.Since 2.12 replaced withAccessorNamingStrategy
static java.lang.String
BeanUtil. okNameForMutator(AnnotatedMethod am, java.lang.String prefix, boolean stdNaming)
Deprecated.Since 2.12 replaced withAccessorNamingStrategy
static java.lang.String
BeanUtil. okNameForRegularGetter(AnnotatedMethod am, java.lang.String name, boolean stdNaming)
Deprecated.Since 2.12 replaced withAccessorNamingStrategy
static java.lang.String
BeanUtil. okNameForSetter(AnnotatedMethod am, boolean stdNaming)
Deprecated.
-