Interface ClassIntrospector.MixInResolver
-
- All Known Implementing Classes:
DeserializationConfig,MapperConfig,MapperConfigBase,SerializationConfig,SimpleMixInResolver
- Enclosing class:
- ClassIntrospector
public static interface ClassIntrospector.MixInResolverInterface 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)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClassIntrospector.MixInResolvercopy()Method called to create a new, non-shared copy, to be used by differentObjectMapperinstance, and one that should not be connected to this instance, if resolver has mutable state.java.lang.Class<?>findMixInClassFor(java.lang.Class<?> cls)Method that will check if there are "mix-in" classes (with mix-in annotations) for given class
-
-
-
Method Detail
-
findMixInClassFor
java.lang.Class<?> findMixInClassFor(java.lang.Class<?> cls)
Method that will check if there are "mix-in" classes (with mix-in annotations) for given class
-
copy
ClassIntrospector.MixInResolver copy()
Method called to create a new, non-shared copy, to be used by differentObjectMapperinstance, and one that should not be connected to this instance, if resolver has mutable state. If resolver is immutable may simply return `this`.- Since:
- 2.6
-
-