Uses of Class
com.fasterxml.jackson.databind.introspect.AnnotatedClass
-
Packages that use AnnotatedClass 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.cfg Package that contains most of configuration-related classes; exception being couple of most-commonly used configuration things (like Feature enumerations) that are at the main level (com.fasterxml.jackson.databind).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.jsontype Package that contains interfaces that define how to implement functionality for dynamically resolving type during deserialization.com.fasterxml.jackson.databind.jsontype.impl Package that contains standard implementations forTypeResolverBuilderandTypeIdResolver.com.fasterxml.jackson.databind.ser Contains implementation classes of serialization part of data binding.com.fasterxml.jackson.databind.ser.impl Contains implementation classes of serialization part of data binding. -
-
Uses of AnnotatedClass in com.fasterxml.jackson.databind
Methods in com.fasterxml.jackson.databind that return AnnotatedClass Modifier and Type Method Description abstract AnnotatedClassBeanDescription. getClassInfo()Method for accessing low-level information about Class this item describes.Methods in com.fasterxml.jackson.databind with parameters of type AnnotatedClass Modifier and Type Method Description voidAnnotationIntrospector. findAndAddVirtualProperties(MapperConfig<?> config, AnnotatedClass ac, List<BeanPropertyWriter> properties)Method for adding possible virtual properties to be serialized along with regular properties.VisibilityChecker<?>AnnotationIntrospector. findAutoDetectVisibility(AnnotatedClass ac, VisibilityChecker<?> checker)Method for checking if annotations indicate changes to minimum visibility levels needed for auto-detecting property elements (fields, methods, constructors).StringAnnotationIntrospector. findClassDescription(AnnotatedClass ac)Method used to check whether specified class defines a human-readable description to use for documentation.BooleanAnnotationIntrospector. findIgnoreUnknownProperties(AnnotatedClass ac)Deprecated.ObjectAnnotationIntrospector. findNamingStrategy(AnnotatedClass ac)Method for findingPropertyNamingStrategyfor given class, if any specified by annotations; and if so, either return aPropertyNamingStrategyinstance, or Class to use for creating instanceClass<?>AnnotationIntrospector. findPOJOBuilder(AnnotatedClass ac)Method for finding Builder object to use for constructing value instance and binding data (sort of combining value instantiators that can construct, and deserializers that can bind data).JsonPOJOBuilder.ValueAnnotationIntrospector. findPOJOBuilderConfig(AnnotatedClass ac)PropertyNameAnnotationIntrospector. findRootName(AnnotatedClass ac)Method for locating name used as "root name" (for use by some serializers when outputting root-level object -- mostly for XML compatibility purposes) for given class, if one is defined.String[]AnnotationIntrospector. findSerializationPropertyOrder(AnnotatedClass ac)Method for accessing defined property serialization order (which may be partial).StringAnnotationIntrospector. findTypeName(AnnotatedClass ac)Method for checking if specified type has explicit name.TypeResolverBuilder<?>AnnotationIntrospector. findTypeResolver(MapperConfig<?> config, AnnotatedClass ac, JavaType baseType)Method for checking if given class has annotations that indicate that specific type resolver is to be used for handling instances.ObjectAnnotationIntrospector. findValueInstantiator(AnnotatedClass ac)Method gettingValueInstantiatorto use for given type (class): return value can either be an instance of instantiator, or class of instantiator to create.BooleanAnnotationIntrospector. isIgnorableType(AnnotatedClass ac)Method for checking whether properties that have specified type (class, not generics aware) should be completely ignored for serialization and deserialization purposes. -
Uses of AnnotatedClass in com.fasterxml.jackson.databind.cfg
Methods in com.fasterxml.jackson.databind.cfg with parameters of type AnnotatedClass Modifier and Type Method Description abstract com.fasterxml.jackson.annotation.JsonIgnoreProperties.ValueMapperConfig. getDefaultPropertyIgnorals(Class<?> baseType, AnnotatedClass actualClass)Helper method that may be called to see if there are property ignoral definitions from annotations (viaAnnotatedClass) or through "config overrides".com.fasterxml.jackson.annotation.JsonIgnoreProperties.ValueMapperConfigBase. getDefaultPropertyIgnorals(Class<?> baseType, AnnotatedClass actualClass)abstract VisibilityChecker<?>MapperConfig. getDefaultVisibilityChecker(Class<?> baseType, AnnotatedClass actualClass)Accessor for object used for determining whether specific property elements (method, constructors, fields) can be auto-detected based on their visibility (access modifiers).VisibilityChecker<?>MapperConfigBase. getDefaultVisibilityChecker(Class<?> baseType, AnnotatedClass actualClass) -
Uses of AnnotatedClass in com.fasterxml.jackson.databind.introspect
Fields in com.fasterxml.jackson.databind.introspect declared as AnnotatedClass Modifier and Type Field Description protected AnnotatedClassPOJOPropertiesCollector. _classDefLow-level introspected class information (methods, fields etc)protected AnnotatedClassBasicBeanDescription. _classInfoInformation collected about the class introspected.Methods in com.fasterxml.jackson.databind.introspect with parameters of type AnnotatedClass Modifier and Type Method Description protected BeanPropertyWriterJacksonAnnotationIntrospector. _constructVirtualProperty(JsonAppend.Attr attr, MapperConfig<?> config, AnnotatedClass ac, JavaType type)protected BeanPropertyWriterJacksonAnnotationIntrospector. _constructVirtualProperty(JsonAppend.Prop prop, MapperConfig<?> config, AnnotatedClass ac)protected POJOPropertiesCollectorBasicClassIntrospector. constructPropertyCollector(MapperConfig<?> config, AnnotatedClass ac, JavaType type, boolean forSerialization, String mutatorPrefix)Overridable method called for creatingPOJOPropertiesCollectorinstance to use; override is needed if a custom sub-class is to be used.voidAnnotationIntrospectorPair. findAndAddVirtualProperties(MapperConfig<?> config, AnnotatedClass ac, List<BeanPropertyWriter> properties)voidJacksonAnnotationIntrospector. findAndAddVirtualProperties(MapperConfig<?> config, AnnotatedClass ac, List<BeanPropertyWriter> properties)VisibilityChecker<?>AnnotationIntrospectorPair. findAutoDetectVisibility(AnnotatedClass ac, VisibilityChecker<?> checker)VisibilityChecker<?>JacksonAnnotationIntrospector. findAutoDetectVisibility(AnnotatedClass ac, VisibilityChecker<?> checker)StringAnnotationIntrospectorPair. findClassDescription(AnnotatedClass ac)StringJacksonAnnotationIntrospector. findClassDescription(AnnotatedClass ac)BooleanAnnotationIntrospectorPair. findIgnoreUnknownProperties(AnnotatedClass ac)Deprecated.ObjectAnnotationIntrospectorPair. findNamingStrategy(AnnotatedClass ac)ObjectJacksonAnnotationIntrospector. findNamingStrategy(AnnotatedClass ac)Class<?>AnnotationIntrospectorPair. findPOJOBuilder(AnnotatedClass ac)Class<?>JacksonAnnotationIntrospector. findPOJOBuilder(AnnotatedClass ac)JsonPOJOBuilder.ValueAnnotationIntrospectorPair. findPOJOBuilderConfig(AnnotatedClass ac)JsonPOJOBuilder.ValueJacksonAnnotationIntrospector. findPOJOBuilderConfig(AnnotatedClass ac)PropertyNameAnnotationIntrospectorPair. findRootName(AnnotatedClass ac)PropertyNameJacksonAnnotationIntrospector. findRootName(AnnotatedClass ac)String[]AnnotationIntrospectorPair. findSerializationPropertyOrder(AnnotatedClass ac)String[]JacksonAnnotationIntrospector. findSerializationPropertyOrder(AnnotatedClass ac)StringAnnotationIntrospectorPair. findTypeName(AnnotatedClass ac)StringJacksonAnnotationIntrospector. findTypeName(AnnotatedClass ac)TypeResolverBuilder<?>AnnotationIntrospectorPair. findTypeResolver(MapperConfig<?> config, AnnotatedClass ac, JavaType baseType)TypeResolverBuilder<?>JacksonAnnotationIntrospector. findTypeResolver(MapperConfig<?> config, AnnotatedClass ac, JavaType baseType)ObjectAnnotationIntrospectorPair. findValueInstantiator(AnnotatedClass ac)ObjectJacksonAnnotationIntrospector. findValueInstantiator(AnnotatedClass ac)static BasicBeanDescriptionBasicBeanDescription. forOtherUse(MapperConfig<?> config, JavaType type, AnnotatedClass ac)Factory method to use for constructing an instance to use for purposes other than building serializers or deserializers; will only have information on class, not on properties.BooleanAnnotationIntrospectorPair. isIgnorableType(AnnotatedClass ac)BooleanJacksonAnnotationIntrospector. isIgnorableType(AnnotatedClass ac)Constructors in com.fasterxml.jackson.databind.introspect with parameters of type AnnotatedClass Constructor Description BasicBeanDescription(MapperConfig<?> config, JavaType type, AnnotatedClass classDef, List<BeanPropertyDefinition> props)Alternate constructor used in cases where property information is not needed, only class info.BasicBeanDescription(POJOPropertiesCollector coll, JavaType type, AnnotatedClass classDef)POJOPropertiesCollector(MapperConfig<?> config, boolean forSerialization, JavaType type, AnnotatedClass classDef, String mutatorPrefix) -
Uses of AnnotatedClass in com.fasterxml.jackson.databind.jsontype
Methods in com.fasterxml.jackson.databind.jsontype with parameters of type AnnotatedClass Modifier and Type Method Description Collection<NamedType>SubtypeResolver. collectAndResolveSubtypes(AnnotatedClass baseType, MapperConfig<?> config, AnnotationIntrospector ai)Deprecated.Collection<NamedType>SubtypeResolver. collectAndResolveSubtypesByClass(MapperConfig<?> config, AnnotatedClass baseType)Method for finding out all reachable subtypes for given type, such that access is by type, typically needed for serialization (converting from type to type name).Collection<NamedType>SubtypeResolver. collectAndResolveSubtypesByTypeId(MapperConfig<?> config, AnnotatedClass baseType)Method for finding out all reachable subtypes for given type, such that access is by type id, typically needed for deserialization (converting from type id to type). -
Uses of AnnotatedClass in com.fasterxml.jackson.databind.jsontype.impl
Methods in com.fasterxml.jackson.databind.jsontype.impl with parameters of type AnnotatedClass Modifier and Type Method Description protected voidStdSubtypeResolver. _collectAndResolve(AnnotatedClass annotatedType, NamedType namedType, MapperConfig<?> config, AnnotationIntrospector ai, HashMap<NamedType,NamedType> collectedSubtypes)Method called to find subtypes for a specific type (class), using type (class) as the unique key (in case of conflicts).protected voidStdSubtypeResolver. _collectAndResolveByTypeId(AnnotatedClass annotatedType, NamedType namedType, MapperConfig<?> config, Set<Class<?>> typesHandled, Map<String,NamedType> byName)Method called to find subtypes for a specific type (class), using type id as the unique key (in case of conflicts).Collection<NamedType>StdSubtypeResolver. collectAndResolveSubtypesByClass(MapperConfig<?> config, AnnotatedClass type)Collection<NamedType>StdSubtypeResolver. collectAndResolveSubtypesByTypeId(MapperConfig<?> config, AnnotatedClass baseType) -
Uses of AnnotatedClass in com.fasterxml.jackson.databind.ser
Methods in com.fasterxml.jackson.databind.ser that return AnnotatedClass Modifier and Type Method Description AnnotatedClassBeanSerializerBuilder. getClassInfo()Methods in com.fasterxml.jackson.databind.ser with parameters of type AnnotatedClass Modifier and Type Method Description abstract VirtualBeanPropertyWriterVirtualBeanPropertyWriter. withConfig(MapperConfig<?> config, AnnotatedClass declaringClass, BeanPropertyDefinition propDef, JavaType type)Contextualization method called on a newly constructed virtual bean property. -
Uses of AnnotatedClass in com.fasterxml.jackson.databind.ser.impl
Methods in com.fasterxml.jackson.databind.ser.impl with parameters of type AnnotatedClass Modifier and Type Method Description VirtualBeanPropertyWriterAttributePropertyWriter. withConfig(MapperConfig<?> config, AnnotatedClass declaringClass, BeanPropertyDefinition propDef, JavaType type)Since this method should typically not be called on this sub-type, default implementation simply throws anIllegalStateException.
-