Uses of Interface
tools.jackson.databind.util.Annotations
Packages that use Annotations
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 implementation classes of serialization part of
data binding.
Contains implementation classes of serialization part of
data binding.
-
Uses of Annotations in tools.jackson.databind
Methods in tools.jackson.databind that return AnnotationsModifier and TypeMethodDescriptionBeanDescription.EagerSupplier.getClassAnnotations()abstract AnnotationsBeanDescription.getClassAnnotations()Method for accessing collection of annotations the bean class has.BeanDescription.LazySupplier.getClassAnnotations()BeanDescription.Supplier.getClassAnnotations() -
Uses of Annotations in tools.jackson.databind.deser
Fields in tools.jackson.databind.deser declared as AnnotationsModifier and TypeFieldDescriptionprotected final AnnotationsSettableBeanProperty._contextAnnotationsClass that contains this property (either class that declares the property or one of its subclasses), class that is deserialized using deserializer that contains this property.Methods in tools.jackson.databind.deser with parameters of type AnnotationsModifier and TypeMethodDescriptionvoidBeanDeserializerBuilder.addInjectable(PropertyName propName, JavaType propType, Annotations contextAnnotations, AnnotatedMember member, Object valueId, Boolean optional, Boolean useInput) static CreatorPropertyCreatorProperty.construct(PropertyName name, JavaType type, PropertyName wrapperName, TypeDeserializer typeDeser, Annotations contextAnnotations, AnnotatedParameter param, int index, JacksonInject.Value injectable, PropertyMetadata metadata) Factory method for creatingCreatorPropertyinstancesConstructors in tools.jackson.databind.deser with parameters of type AnnotationsModifierConstructorDescriptionprotectedCreatorProperty(PropertyName name, JavaType type, PropertyName wrapperName, TypeDeserializer typeDeser, Annotations contextAnnotations, AnnotatedParameter param, int index, JacksonInject.Value injectable, PropertyMetadata metadata) protectedSettableBeanProperty(BeanPropertyDefinition propDef, JavaType type, TypeDeserializer typeDeser, Annotations contextAnnotations) protectedSettableBeanProperty(PropertyName propName, JavaType type, PropertyName wrapper, TypeDeserializer typeDeser, Annotations contextAnnotations, PropertyMetadata metadata) -
Uses of Annotations in tools.jackson.databind.deser.impl
Constructors in tools.jackson.databind.deser.impl with parameters of type AnnotationsModifierConstructorDescriptionMethodProperty(BeanPropertyDefinition propDef, JavaType type, TypeDeserializer typeDeser, Annotations contextAnnotations, AnnotatedMember annotated) SetterlessProperty(BeanPropertyDefinition propDef, JavaType type, TypeDeserializer typeDeser, Annotations contextAnnotations, AnnotatedMethod method) -
Uses of Annotations in tools.jackson.databind.introspect
Classes in tools.jackson.databind.introspect that implement AnnotationsModifier and TypeClassDescriptionstatic classImmutable implementation for case where no annotations are associated with an annotatable entity.static classstatic classfinal classSimple helper class used to keep track of collection of Jackson Annotations associated with annotatable things (methods, constructors, classes).Fields in tools.jackson.databind.introspect declared as AnnotationsModifier and TypeFieldDescriptionprotected final AnnotationsAnnotatedClass._classAnnotationsCombined list of Jackson annotations that the class has, including inheritable ones from super classes and interfacesprotected static final AnnotationsAnnotationCollector.NO_ANNOTATIONSMethods in tools.jackson.databind.introspect that return AnnotationsModifier and TypeMethodDescriptionabstract AnnotationsAnnotationCollector.asAnnotations()static AnnotationsAnnotationCollector.emptyAnnotations()AnnotatedClass.getAnnotations()BasicBeanDescription.getClassAnnotations() -
Uses of Annotations in tools.jackson.databind.ser
Fields in tools.jackson.databind.ser declared as AnnotationsModifier and TypeFieldDescriptionprotected final AnnotationsBeanPropertyWriter._contextAnnotationsAnnotations from context (most often, class that declares property, or in case of sub-class serializer, from that sub-class)Methods in tools.jackson.databind.ser that return AnnotationsMethods in tools.jackson.databind.ser with parameters of type AnnotationsModifier and TypeMethodDescriptionprotected BeanPropertyWriterPropertyBuilder._constructPropertyWriter(BeanPropertyDefinition propDef, AnnotatedMember member, Annotations contextAnnotations, JavaType declaredType, ValueSerializer<?> ser, TypeSerializer typeSer, JavaType serType, boolean suppressNulls, Object suppressableValue, Class<?>[] includeInViews) Overridable factory method for actual construction ofBeanPropertyWriter; often needed if subclassingPropertyBuilder.buildWriter(tools.jackson.databind.SerializationContext, tools.jackson.databind.introspect.BeanPropertyDefinition, tools.jackson.databind.JavaType, tools.jackson.databind.ValueSerializer<?>, tools.jackson.databind.jsontype.TypeSerializer, tools.jackson.databind.jsontype.TypeSerializer, tools.jackson.databind.introspect.AnnotatedMember, boolean)method.Constructors in tools.jackson.databind.ser with parameters of type AnnotationsModifierConstructorDescriptionBeanPropertyWriter(BeanPropertyDefinition propDef, AnnotatedMember member, Annotations contextAnnotations, JavaType declaredType, ValueSerializer<?> ser, TypeSerializer typeSer, JavaType serType, boolean suppressNulls, Object suppressableValue, Class<?>[] includeInViews) protectedVirtualBeanPropertyWriter(BeanPropertyDefinition propDef, Annotations contextAnnotations, JavaType declaredType) Constructor used by most sub-types.protectedVirtualBeanPropertyWriter(BeanPropertyDefinition propDef, Annotations contextAnnotations, JavaType declaredType, ValueSerializer<?> ser, TypeSerializer typeSer, JavaType serType, JsonInclude.Value inclusion, Class<?>[] includeInViews) Pass-through constructor that may be used by sub-classes that want full control over implementation. -
Uses of Annotations in tools.jackson.databind.ser.impl
Methods in tools.jackson.databind.ser.impl with parameters of type AnnotationsModifier and TypeMethodDescriptionstatic AttributePropertyWriterAttributePropertyWriter.construct(String attrName, BeanPropertyDefinition propDef, Annotations contextAnnotations, JavaType declaredType) Constructors in tools.jackson.databind.ser.impl with parameters of type AnnotationsModifierConstructorDescriptionprotectedAttributePropertyWriter(String attrName, BeanPropertyDefinition propDef, Annotations contextAnnotations, JavaType declaredType) protectedAttributePropertyWriter(String attrName, BeanPropertyDefinition propDef, Annotations contextAnnotations, JavaType declaredType, JsonInclude.Value inclusion)