Uses of Class
com.fasterxml.jackson.databind.introspect.AnnotatedConstructor
Packages that use AnnotatedConstructor
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.
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.
-
Uses of AnnotatedConstructor in com.fasterxml.jackson.databind
Methods in com.fasterxml.jackson.databind that return AnnotatedConstructorModifier and TypeMethodDescriptionabstract AnnotatedConstructor
BeanDescription.findDefaultConstructor()
Method that will locate the no-arg constructor for this class, if it has one, and that constructor has not been marked as ignorable.Methods in com.fasterxml.jackson.databind that return types with arguments of type AnnotatedConstructorModifier and TypeMethodDescriptionabstract List
<AnnotatedConstructor> BeanDescription.getConstructors()
Helper method that will return all non-default constructors (that is, constructors that take one or more arguments) this class has.abstract List
<AnnotatedAndMetadata<AnnotatedConstructor, com.fasterxml.jackson.annotation.JsonCreator.Mode>> BeanDescription.getConstructorsWithMode()
Method similar toBeanDescription.getConstructors()
except will also introspectJsonCreator.Mode
and filter out ones marked as not applicable and include mode (or lack thereof) for remaining constructors. -
Uses of AnnotatedConstructor in com.fasterxml.jackson.databind.deser
Methods in com.fasterxml.jackson.databind.deser with parameters of type AnnotatedConstructorModifier and TypeMethodDescriptionprotected void
BasicDeserializerFactory._addRecordConstructor
(DeserializationContext ctxt, BasicDeserializerFactory.CreatorCollectionState ccState, AnnotatedConstructor canonical, List<String> implicitNames) Deprecated.since 2.15 - no longer used, but kept because this protected method might have been overridden/used elsewhere -
Uses of AnnotatedConstructor in com.fasterxml.jackson.databind.deser.impl
Fields in com.fasterxml.jackson.databind.deser.impl declared as AnnotatedConstructorModifier and TypeFieldDescriptionprotected AnnotatedConstructor
InnerClassProperty._annotated
Serializable version of single-arg constructor we use for value instantiation.Constructors in com.fasterxml.jackson.databind.deser.impl with parameters of type AnnotatedConstructorModifierConstructorDescriptionprotected
Constructor used with JDK Serialization; needed to handle transient Constructor, wrap/unwrap in/out-of Annotated variant. -
Uses of AnnotatedConstructor in com.fasterxml.jackson.databind.introspect
Fields in com.fasterxml.jackson.databind.introspect declared as AnnotatedConstructorModifier and TypeFieldDescriptionfinal AnnotatedConstructor
AnnotatedClass.Creators.defaultConstructor
Default constructor of the annotated class, if it has one.Fields in com.fasterxml.jackson.databind.introspect with type parameters of type AnnotatedConstructorModifier and TypeFieldDescriptionfinal List
<AnnotatedConstructor> AnnotatedClass.Creators.constructors
Single argument constructors the class has, if any.Methods in com.fasterxml.jackson.databind.introspect that return AnnotatedConstructorModifier and TypeMethodDescriptionBasicBeanDescription.findDefaultConstructor()
AnnotatedClass.getDefaultConstructor()
AnnotatedConstructor.withAnnotations
(AnnotationMap ann) Methods in com.fasterxml.jackson.databind.introspect that return types with arguments of type AnnotatedConstructorModifier and TypeMethodDescriptionAnnotatedClass.getConstructors()
BasicBeanDescription.getConstructors()
List
<AnnotatedAndMetadata<AnnotatedConstructor, com.fasterxml.jackson.annotation.JsonCreator.Mode>> BasicBeanDescription.getConstructorsWithMode()
Constructors in com.fasterxml.jackson.databind.introspect with parameters of type AnnotatedConstructorModifierConstructorDescriptionCreators
(AnnotatedConstructor defCtor, List<AnnotatedConstructor> ctors, List<AnnotatedMethod> ctorMethods) Constructor parameters in com.fasterxml.jackson.databind.introspect with type arguments of type AnnotatedConstructorModifierConstructorDescriptionCreators
(AnnotatedConstructor defCtor, List<AnnotatedConstructor> ctors, List<AnnotatedMethod> ctorMethods) -
Uses of AnnotatedConstructor in com.fasterxml.jackson.databind.jdk14
Methods in com.fasterxml.jackson.databind.jdk14 that return AnnotatedConstructorModifier and TypeMethodDescriptionstatic AnnotatedConstructor
JDK14Util.findRecordConstructor
(DeserializationContext ctxt, BeanDescription beanDesc, List<String> names) static AnnotatedConstructor
JDK14Util.findRecordConstructor
(AnnotatedClass recordClass, AnnotationIntrospector intr, MapperConfig<?> config, List<String> names)