Top Description Constructors Methods
tools.jackson.databind.introspect

public abstract Class ClassIntrospector

extends Object
Class Inheritance
Known Direct Subclasses
tools.jackson.databind.introspect.BasicClassIntrospector
Imports
tools.jackson.databind.*, tools.jackson.databind.cfg.MapperConfig

Helper class used to introspect features of POJO value classes used with Jackson. The main use is for finding out POJO construction (creator) and value access (getters, setters) methods and annotations that define configuration of using those methods.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public abstract ClassIntrospector
forMapper()

Method called to create an instance to be exclusive used by specified mapper.

public abstract ClassIntrospector
forOperation(MapperConfig<?> config)

Method called to further create an instance to be used for a single operation (read or write, typically matching ObjectMapper readValue() or writeValue()).

public abstract AnnotatedClass
introspectClassAnnotations(JavaType type)

Factory method that introspects a AnnotatedClass that only has information regarding annotations class itself (or its supertypes) has, but nothing on methods or constructors.

public abstract AnnotatedClass
introspectDirectClassAnnotations(JavaType type)

Factory method that introspects a AnnotatedClass that only has information regarding annotations class itself has (but NOT including its supertypes), but nothing on methods or constructors.

public abstract BeanDescription
introspectForCreation(JavaType type, AnnotatedClass classDef)

Factory method that introspects a BeanDescription that has information necessary for creating instances of given class ("creator"), as well as class annotations, but no information on member methods

public abstract BeanDescription
introspectForDeserialization(JavaType type, AnnotatedClass classDef)

Factory method that introspects a BeanDescription that has all information needed for deserialization purposes.

public abstract BeanDescription
introspectForDeserializationWithBuilder(JavaType builderType, BeanDescription valueTypeDesc)

Factory method that introspects a BeanDescription that has all information needed for constructing deserializers that use intermediate Builder objects.

public abstract BeanDescription
introspectForSerialization(JavaType type, AnnotatedClass classDef)

Factory method that introspects a BeanDescription that has all information needed for serialization purposes.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ClassIntrospectorback to summary
protected ClassIntrospector()

Method Detail

forMapperback to summary
public abstract ClassIntrospector forMapper()

Method called to create an instance to be exclusive used by specified mapper. Needed to ensure that no sharing through cache occurs.

Basic implementation just returns instance itself.

Since
3.0
forOperationback to summary
public abstract ClassIntrospector forOperation(MapperConfig<?> config)

Method called to further create an instance to be used for a single operation (read or write, typically matching ObjectMapper readValue() or writeValue()).

introspectClassAnnotationsback to summary
public abstract AnnotatedClass introspectClassAnnotations(JavaType type)

Factory method that introspects a AnnotatedClass that only has information regarding annotations class itself (or its supertypes) has, but nothing on methods or constructors.

introspectDirectClassAnnotationsback to summary
public abstract AnnotatedClass introspectDirectClassAnnotations(JavaType type)

Factory method that introspects a AnnotatedClass that only has information regarding annotations class itself has (but NOT including its supertypes), but nothing on methods or constructors.

introspectForCreationback to summary
public abstract BeanDescription introspectForCreation(JavaType type, AnnotatedClass classDef)

Factory method that introspects a BeanDescription that has information necessary for creating instances of given class ("creator"), as well as class annotations, but no information on member methods

introspectForDeserializationback to summary
public abstract BeanDescription introspectForDeserialization(JavaType type, AnnotatedClass classDef)

Factory method that introspects a BeanDescription that has all information needed for deserialization purposes.

introspectForDeserializationWithBuilderback to summary
public abstract BeanDescription introspectForDeserializationWithBuilder(JavaType builderType, BeanDescription valueTypeDesc)

Factory method that introspects a BeanDescription that has all information needed for constructing deserializers that use intermediate Builder objects.

introspectForSerializationback to summary
public abstract BeanDescription introspectForSerialization(JavaType type, AnnotatedClass classDef)

Factory method that introspects a BeanDescription that has all information needed for serialization purposes.