Class BasicClassIntrospector
- java.lang.Object
-
- com.fasterxml.jackson.databind.introspect.ClassIntrospector
-
- com.fasterxml.jackson.databind.introspect.BasicClassIntrospector
-
- All Implemented Interfaces:
java.io.Serializable
public class BasicClassIntrospector extends ClassIntrospector implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.introspect.ClassIntrospector
ClassIntrospector.MixInResolver
-
-
Constructor Summary
Constructors Constructor Description BasicClassIntrospector()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ClassIntrospector
copy()
Method that may be needed when `copy()`ing `ObjectMapper` instances.BasicBeanDescription
forClassAnnotations(MapperConfig<?> config, JavaType type, ClassIntrospector.MixInResolver r)
Factory method that constructs an introspector that only has information regarding annotations class itself (or its supertypes) has, but nothing on methods or constructors.BasicBeanDescription
forCreation(DeserializationConfig config, JavaType type, ClassIntrospector.MixInResolver r)
Factory method that constructs an introspector that has information necessary for creating instances of given class ("creator"), as well as class annotations, but no information on member methodsBasicBeanDescription
forDeserialization(DeserializationConfig config, JavaType type, ClassIntrospector.MixInResolver r)
Factory method that constructs an introspector that has all information needed for deserialization purposes.BasicBeanDescription
forDeserializationWithBuilder(DeserializationConfig config, JavaType type, ClassIntrospector.MixInResolver r)
Deprecated.BasicBeanDescription
forDeserializationWithBuilder(DeserializationConfig config, JavaType builderType, ClassIntrospector.MixInResolver r, BeanDescription valueTypeDesc)
Factory method that constructs an introspector that has all information needed for constructing deserializers that use intermediate Builder objects.BasicBeanDescription
forDirectClassAnnotations(MapperConfig<?> config, JavaType type, ClassIntrospector.MixInResolver r)
Factory method that constructs an introspector that only has information regarding annotations class itself has (but NOT including its supertypes), but nothing on methods or constructors.BasicBeanDescription
forSerialization(SerializationConfig config, JavaType type, ClassIntrospector.MixInResolver r)
Factory method that constructs an introspector that has all information needed for serialization purposes.
-
-
-
Method Detail
-
copy
public ClassIntrospector copy()
Description copied from class:ClassIntrospector
Method that may be needed when `copy()`ing `ObjectMapper` instances.- Specified by:
copy
in classClassIntrospector
-
forSerialization
public BasicBeanDescription forSerialization(SerializationConfig config, JavaType type, ClassIntrospector.MixInResolver r)
Description copied from class:ClassIntrospector
Factory method that constructs an introspector that has all information needed for serialization purposes.- Specified by:
forSerialization
in classClassIntrospector
-
forDeserialization
public BasicBeanDescription forDeserialization(DeserializationConfig config, JavaType type, ClassIntrospector.MixInResolver r)
Description copied from class:ClassIntrospector
Factory method that constructs an introspector that has all information needed for deserialization purposes.- Specified by:
forDeserialization
in classClassIntrospector
-
forDeserializationWithBuilder
public BasicBeanDescription forDeserializationWithBuilder(DeserializationConfig config, JavaType builderType, ClassIntrospector.MixInResolver r, BeanDescription valueTypeDesc)
Description copied from class:ClassIntrospector
Factory method that constructs an introspector that has all information needed for constructing deserializers that use intermediate Builder objects.- Specified by:
forDeserializationWithBuilder
in classClassIntrospector
-
forDeserializationWithBuilder
@Deprecated public BasicBeanDescription forDeserializationWithBuilder(DeserializationConfig config, JavaType type, ClassIntrospector.MixInResolver r)
Deprecated.- Specified by:
forDeserializationWithBuilder
in classClassIntrospector
-
forCreation
public BasicBeanDescription forCreation(DeserializationConfig config, JavaType type, ClassIntrospector.MixInResolver r)
Description copied from class:ClassIntrospector
Factory method that constructs an introspector that has information necessary for creating instances of given class ("creator"), as well as class annotations, but no information on member methods- Specified by:
forCreation
in classClassIntrospector
-
forClassAnnotations
public BasicBeanDescription forClassAnnotations(MapperConfig<?> config, JavaType type, ClassIntrospector.MixInResolver r)
Description copied from class:ClassIntrospector
Factory method that constructs an introspector that only has information regarding annotations class itself (or its supertypes) has, but nothing on methods or constructors.- Specified by:
forClassAnnotations
in classClassIntrospector
-
forDirectClassAnnotations
public BasicBeanDescription forDirectClassAnnotations(MapperConfig<?> config, JavaType type, ClassIntrospector.MixInResolver r)
Description copied from class:ClassIntrospector
Factory method that constructs an introspector that only has information regarding annotations class itself has (but NOT including its supertypes), but nothing on methods or constructors.- Specified by:
forDirectClassAnnotations
in classClassIntrospector
-
-