| Modifier and Type | Class and Description |
|---|---|
| public static interface | ClassIntrospector.MixInResolver
Interface used for decoupling details of how mix-in annotation definitions are accessed (via this interface), and how they are stored (defined by classes that implement the interface) |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public abstract ClassIntrospector | |
| public abstract BeanDescription | forClassAnnotations(MapperConfig<?> cfg, JavaType type, 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. |
| public abstract BeanDescription | forCreation(DeserializationConfig cfg, JavaType type, 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 |
| public abstract BeanDescription | forDeserialization(DeserializationConfig cfg, JavaType type, ClassIntrospector.
Factory method that constructs an introspector that has all information needed for deserialization purposes. |
| public abstract BeanDescription | forDeserializationWithBuilder(DeserializationConfig cfg, JavaType builderType, ClassIntrospector.
Factory method that constructs an introspector that has all information needed for constructing deserializers that use intermediate Builder objects. |
| public abstract BeanDescription | forDeserializationWithBuilder(DeserializationConfig cfg, JavaType builderType, ClassIntrospector.
Deprecated
Since 2.12 use overload that take value type description
|
| public abstract BeanDescription | forDirectClassAnnotations(MapperConfig<?> cfg, JavaType type, 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. |
| public abstract BeanDescription | forSerialization(SerializationConfig cfg, JavaType type, ClassIntrospector.
Factory method that constructs an introspector that has all information needed for serialization purposes. |
| ClassIntrospector | back to summary |
|---|---|
| protected ClassIntrospector() | |
| copy | back to summary |
|---|---|
| public abstract ClassIntrospector copy() Method that may be needed when `copy()`ing `ObjectMapper` instances.
| |
| forClassAnnotations | back to summary |
|---|---|
| public abstract BeanDescription forClassAnnotations(MapperConfig<?> cfg, JavaType type, 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. | |
| forCreation | back to summary |
|---|---|
| public abstract BeanDescription forCreation(DeserializationConfig cfg, JavaType type, 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 | |
| forDeserialization | back to summary |
|---|---|
| public abstract BeanDescription forDeserialization(DeserializationConfig cfg, JavaType type, ClassIntrospector. Factory method that constructs an introspector that has all information needed for deserialization purposes. | |
| forDeserializationWithBuilder | back to summary |
|---|---|
| public abstract BeanDescription forDeserializationWithBuilder(DeserializationConfig cfg, JavaType builderType, ClassIntrospector. Factory method that constructs an introspector that has all information needed for constructing deserializers that use intermediate Builder objects.
| |
| forDeserializationWithBuilder | back to summary |
|---|---|
| public abstract BeanDescription forDeserializationWithBuilder(DeserializationConfig cfg, JavaType builderType, ClassIntrospector. Deprecated Since 2.12 use overload that take value type description
| |
| forDirectClassAnnotations | back to summary |
|---|---|
| public abstract BeanDescription forDirectClassAnnotations(MapperConfig<?> cfg, JavaType type, 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. | |
| forSerialization | back to summary |
|---|---|
| public abstract BeanDescription forSerialization(SerializationConfig cfg, JavaType type, ClassIntrospector. Factory method that constructs an introspector that has all information needed for serialization purposes. | |
| Modifier and Type | Method and Description |
|---|---|
| public ClassIntrospector. | copy()
Method called to create a new, non-shared copy, to be used by different
|
| public Class | findMixInClassFor(Class<?> cls)
Method that will check if there are "mix-in" classes (with mix-in annotations) for given class |
| copy | back to summary |
|---|---|
| public ClassIntrospector. Method called to create a new, non-shared copy, to be used by different
| |
| findMixInClassFor | back to summary |
|---|---|
| public Class Method that will check if there are "mix-in" classes (with mix-in annotations) for given class | |