Package | Description |
---|---|
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.
|
Modifier and Type | Class and Description |
---|---|
static class |
AccessorNamingStrategy.Base
Helper class that implements all abstract methods with dummy implementations.
|
class |
DefaultAccessorNamingStrategy
Default
AccessorNamingStrategy used by Jackson: to be used either as-is,
or as base-class with overrides. |
static class |
DefaultAccessorNamingStrategy.RecordNaming
Implementation used for supporting "non-prefix" naming convention of
Java 14
java.lang.Record types, and in particular find default
accessors for declared record fields. |
Modifier and Type | Field and Description |
---|---|
protected AccessorNamingStrategy |
POJOPropertiesCollector._accessorNaming
Handler used for name-mangling of getter, mutator (setter/with) methods
|
Modifier and Type | Method and Description |
---|---|
abstract AccessorNamingStrategy |
AccessorNamingStrategy.Provider.forBuilder(MapperConfig<?> config,
AnnotatedClass builderClass,
BeanDescription valueTypeDesc)
Factory method for creating strategy instance for POJOs
that are deserialized using Builder type: in this case eventual
target (value) type is different from type of "builder" object that is
used by databinding to accumulate state.
|
AccessorNamingStrategy |
DefaultAccessorNamingStrategy.Provider.forBuilder(MapperConfig<?> config,
AnnotatedClass builderClass,
BeanDescription valueTypeDesc) |
abstract AccessorNamingStrategy |
AccessorNamingStrategy.Provider.forPOJO(MapperConfig<?> config,
AnnotatedClass valueClass)
Factory method for creating strategy instance for a "regular" POJO,
called if none of the other factory methods is applicable.
|
AccessorNamingStrategy |
DefaultAccessorNamingStrategy.Provider.forPOJO(MapperConfig<?> config,
AnnotatedClass targetClass) |
abstract AccessorNamingStrategy |
AccessorNamingStrategy.Provider.forRecord(MapperConfig<?> config,
AnnotatedClass recordClass)
Factory method for creating strategy instance for special
java.lang.Record
type (new in JDK 14). |
AccessorNamingStrategy |
DefaultAccessorNamingStrategy.Provider.forRecord(MapperConfig<?> config,
AnnotatedClass recordClass) |
Modifier and Type | Method and Description |
---|---|
protected POJOPropertiesCollector |
BasicClassIntrospector.constructPropertyCollector(MapperConfig<?> config,
AnnotatedClass classDef,
JavaType type,
boolean forSerialization,
AccessorNamingStrategy accNaming) |
Constructor and Description |
---|
POJOPropertiesCollector(MapperConfig<?> config,
boolean forSerialization,
JavaType type,
AnnotatedClass classDef,
AccessorNamingStrategy accessorNaming) |
Copyright © 2008–2020 FasterXML. All rights reserved.