Uses of Class
com.fasterxml.jackson.databind.introspect.PotentialCreator
Packages that use PotentialCreator
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.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 PotentialCreator in com.fasterxml.jackson.databind
Methods in com.fasterxml.jackson.databind that return PotentialCreatorModifier and TypeMethodDescriptionAnnotationIntrospector.findDefaultCreator
(MapperConfig<?> config, AnnotatedClass valueClass, List<PotentialCreator> declaredConstructors, List<PotentialCreator> declaredFactories) 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 (AnnotationIntrospector.findCreatorAnnotation(com.fasterxml.jackson.databind.cfg.MapperConfig<?>, com.fasterxml.jackson.databind.introspect.Annotated)
returnsnull
).Method parameters in com.fasterxml.jackson.databind with type arguments of type PotentialCreatorModifier and TypeMethodDescriptionAnnotationIntrospector.findDefaultCreator
(MapperConfig<?> config, AnnotatedClass valueClass, List<PotentialCreator> declaredConstructors, List<PotentialCreator> declaredFactories) 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 (AnnotationIntrospector.findCreatorAnnotation(com.fasterxml.jackson.databind.cfg.MapperConfig<?>, com.fasterxml.jackson.databind.introspect.Annotated)
returnsnull
). -
Uses of PotentialCreator in com.fasterxml.jackson.databind.introspect
Fields in com.fasterxml.jackson.databind.introspect declared as PotentialCreatorModifier and TypeFieldDescriptionPotentialCreators.propertiesBased
Property-based Creator found, if anyMethods in com.fasterxml.jackson.databind.introspect that return PotentialCreatorModifier and TypeMethodDescriptionAnnotationIntrospectorPair.findDefaultCreator
(MapperConfig<?> config, AnnotatedClass valueClass, List<PotentialCreator> declaredConstructors, List<PotentialCreator> declaredFactories) PotentialCreator.introspectParamNames
(MapperConfig<?> config) PotentialCreator.introspectParamNames
(MapperConfig<?> config, PropertyName[] implicits) Variant used when implicit names are known; such as case for JDK Record types.PotentialCreator.overrideMode
(com.fasterxml.jackson.annotation.JsonCreator.Mode mode) Method that can be called to change thecreatorMode
this Creator has: typically used to "mark" Creator asJsonCreator.Mode.DELEGATING
orJsonCreator.Mode.PROPERTIES
when further information is gathered).Methods in com.fasterxml.jackson.databind.introspect that return types with arguments of type PotentialCreatorModifier and TypeMethodDescriptionPotentialCreators.getExplicitDelegating()
PotentialCreators.getImplicitDelegatingConstructors()
PotentialCreators.getImplicitDelegatingFactories()
Methods in com.fasterxml.jackson.databind.introspect with parameters of type PotentialCreatorModifier and TypeMethodDescriptionvoid
PotentialCreators.addExplicitDelegating
(PotentialCreator ctor) void
PotentialCreators.setPropertiesBased
(MapperConfig<?> config, PotentialCreator ctor, String mode) Method parameters in com.fasterxml.jackson.databind.introspect with type arguments of type PotentialCreatorModifier and TypeMethodDescriptionAnnotationIntrospectorPair.findDefaultCreator
(MapperConfig<?> config, AnnotatedClass valueClass, List<PotentialCreator> declaredConstructors, List<PotentialCreator> declaredFactories) void
PotentialCreators.setImplicitDelegating
(List<PotentialCreator> implicitConstructors, List<PotentialCreator> implicitFactories) -
Uses of PotentialCreator in com.fasterxml.jackson.databind.jdk14
Methods in com.fasterxml.jackson.databind.jdk14 that return PotentialCreatorModifier and TypeMethodDescriptionstatic PotentialCreator
JDK14Util.findCanonicalRecordConstructor
(MapperConfig<?> config, AnnotatedClass recordClass, List<PotentialCreator> constructors) Method parameters in com.fasterxml.jackson.databind.jdk14 with type arguments of type PotentialCreatorModifier and TypeMethodDescriptionstatic PotentialCreator
JDK14Util.findCanonicalRecordConstructor
(MapperConfig<?> config, AnnotatedClass recordClass, List<PotentialCreator> constructors)