public BasicBeanDescription forDeserialization(DeserializationConfig paramDeserializationConfig, JavaType paramJavaType, ClassIntrospector.MixInResolver paramMixInResolver) { boolean bool = paramDeserializationConfig.isAnnotationProcessingEnabled(); AnnotationIntrospector localAnnotationIntrospector = paramDeserializationConfig.getAnnotationIntrospector(); Class localClass = paramJavaType.getRawClass(); if (bool); while (true) { AnnotatedClass localAnnotatedClass = AnnotatedClass.construct(localClass, localAnnotationIntrospector, paramMixInResolver); localAnnotatedClass.resolveMemberMethods(getDeserializationMethodFilter(paramDeserializationConfig), true); localAnnotatedClass.resolveCreators(true); localAnnotatedClass.resolveFields(true); return new BasicBeanDescription(paramDeserializationConfig, paramJavaType, localAnnotatedClass); localAnnotationIntrospector = null; } }
private AnnotatedClass(Class<?> paramClass, List<Class<?>> paramList, AnnotationIntrospector paramAnnotationIntrospector, ClassIntrospector.MixInResolver paramMixInResolver) { this._class = paramClass; this._superTypes = paramList; this._annotationIntrospector = paramAnnotationIntrospector; this._mixInResolver = paramMixInResolver; if (this._mixInResolver == null); for (Class localClass = null; ; localClass = this._mixInResolver.findMixInClassFor(this._class)) { this._primaryMixIn = localClass; return; } }
public BasicBeanDescription forClassAnnotations(MapperConfig<?> paramMapperConfig, Class<?> paramClass, ClassIntrospector.MixInResolver paramMixInResolver) { boolean bool = paramMapperConfig.isAnnotationProcessingEnabled(); AnnotationIntrospector localAnnotationIntrospector = paramMapperConfig.getAnnotationIntrospector(); if (bool); while (true) { AnnotatedClass localAnnotatedClass = AnnotatedClass.construct(paramClass, localAnnotationIntrospector, paramMixInResolver); return new BasicBeanDescription(paramMapperConfig, paramMapperConfig.constructType(paramClass), localAnnotatedClass); localAnnotationIntrospector = null; } }
public BasicBeanDescription forCreation(DeserializationConfig paramDeserializationConfig, JavaType paramJavaType, ClassIntrospector.MixInResolver paramMixInResolver) { boolean bool = paramDeserializationConfig.isAnnotationProcessingEnabled(); AnnotationIntrospector localAnnotationIntrospector = paramDeserializationConfig.getAnnotationIntrospector(); Class localClass = paramJavaType.getRawClass(); if (bool); while (true) { AnnotatedClass localAnnotatedClass = AnnotatedClass.construct(localClass, localAnnotationIntrospector, paramMixInResolver); localAnnotatedClass.resolveCreators(true); return new BasicBeanDescription(paramDeserializationConfig, paramJavaType, localAnnotatedClass); localAnnotationIntrospector = null; } }
public BasicBeanDescription forDirectClassAnnotations(MapperConfig<?> paramMapperConfig, Class<?> paramClass, ClassIntrospector.MixInResolver paramMixInResolver) { boolean bool = paramMapperConfig.isAnnotationProcessingEnabled(); AnnotationIntrospector localAnnotationIntrospector = paramMapperConfig.getAnnotationIntrospector(); if (bool); while (true) { AnnotatedClass localAnnotatedClass = AnnotatedClass.constructWithoutSuperTypes(paramClass, localAnnotationIntrospector, paramMixInResolver); return new BasicBeanDescription(paramMapperConfig, paramMapperConfig.constructType(paramClass), localAnnotatedClass); localAnnotationIntrospector = null; } }
public BasicBeanDescription forSerialization(SerializationConfig paramSerializationConfig, JavaType paramJavaType, ClassIntrospector.MixInResolver paramMixInResolver) { AnnotationIntrospector localAnnotationIntrospector = paramSerializationConfig.getAnnotationIntrospector(); AnnotatedClass localAnnotatedClass = AnnotatedClass.construct(paramJavaType.getRawClass(), localAnnotationIntrospector, paramMixInResolver); localAnnotatedClass.resolveMemberMethods(getSerializationMethodFilter(paramSerializationConfig), false); localAnnotatedClass.resolveCreators(true); localAnnotatedClass.resolveFields(false); return new BasicBeanDescription(paramSerializationConfig, paramJavaType, localAnnotatedClass); }
/** * Constructor will not do any initializations, to allow for * configuring instances differently depending on use cases */ private AnnotatedClass(Class<?> cls, List<Class<?>> superTypes, AnnotationIntrospector aintr, MixInResolver mir) { _class = cls; _superTypes = superTypes; _annotationIntrospector = aintr; _mixInResolver = mir; _primaryMixIn = (_mixInResolver == null) ? null : _mixInResolver.findMixInClassFor(_class); }
/** * Factory method that instantiates an instance. Returned instance * will only be initialized with class annotations, but not with * any method information. */ public static AnnotatedClass construct(Class<?> cls, AnnotationIntrospector aintr, MixInResolver mir) { List<Class<?>> st = ClassUtil.findSuperTypes(cls, null); AnnotatedClass ac = new AnnotatedClass(cls, st, aintr, mir); ac.resolveClassAnnotations(); return ac; }
/** * Method similar to {@link #construct}, but that will NOT include * information from supertypes; only class itself and any direct * mix-ins it may have. */ public static AnnotatedClass constructWithoutSuperTypes(Class<?> cls, AnnotationIntrospector aintr, MixInResolver mir) { List<Class<?>> empty = Collections.emptyList(); AnnotatedClass ac = new AnnotatedClass(cls, empty, aintr, mir); ac.resolveClassAnnotations(); return ac; }
private AnnotatedClass(Class<?> paramClass, List<Class<?>> paramList, AnnotationIntrospector paramAnnotationIntrospector, ClassIntrospector.MixInResolver paramMixInResolver, AnnotationMap paramAnnotationMap) { this._class = paramClass; this._superTypes = paramList; this._annotationIntrospector = paramAnnotationIntrospector; this._mixInResolver = paramMixInResolver; if (this._mixInResolver == null); for (Class localClass = null; ; localClass = this._mixInResolver.findMixInClassFor(this._class)) { this._primaryMixIn = localClass; this._classAnnotations = paramAnnotationMap; return; } }
public static AnnotatedClass construct(Class<?> paramClass, AnnotationIntrospector paramAnnotationIntrospector, ClassIntrospector.MixInResolver paramMixInResolver) { AnnotatedClass localAnnotatedClass = new AnnotatedClass(paramClass, ClassUtil.findSuperTypes(paramClass, null), paramAnnotationIntrospector, paramMixInResolver); localAnnotatedClass.resolveClassAnnotations(); return localAnnotatedClass; }
public static AnnotatedClass constructWithoutSuperTypes(Class<?> paramClass, AnnotationIntrospector paramAnnotationIntrospector, ClassIntrospector.MixInResolver paramMixInResolver) { AnnotatedClass localAnnotatedClass = new AnnotatedClass(paramClass, Collections.emptyList(), paramAnnotationIntrospector, paramMixInResolver); localAnnotatedClass.resolveClassAnnotations(); return localAnnotatedClass; }
public static AnnotatedClass construct(Class<?> paramClass, AnnotationIntrospector paramAnnotationIntrospector, ClassIntrospector.MixInResolver paramMixInResolver) { AnnotatedClass localAnnotatedClass = new AnnotatedClass(paramClass, ClassUtil.findSuperTypes(paramClass, null), paramAnnotationIntrospector, paramMixInResolver, null); localAnnotatedClass.resolveClassAnnotations(); return localAnnotatedClass; }
public static AnnotatedClass constructWithoutSuperTypes(Class<?> paramClass, AnnotationIntrospector paramAnnotationIntrospector, ClassIntrospector.MixInResolver paramMixInResolver) { AnnotatedClass localAnnotatedClass = new AnnotatedClass(paramClass, Collections.emptyList(), paramAnnotationIntrospector, paramMixInResolver, null); localAnnotatedClass.resolveClassAnnotations(); return localAnnotatedClass; }