Java 类org.codehaus.jackson.map.ClassIntrospector.MixInResolver 实例源码

项目:12306-android-Decompile    文件:BasicClassIntrospector.java   
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;
  }
}
项目:12306-android-Decompile    文件:BasicClassIntrospector.java   
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;
  }
}
项目:12306-android-Decompile    文件:AnnotatedClass.java   
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;
  }
}
项目:12306-android-Decompile    文件:BasicClassIntrospector.java   
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;
  }
}
项目:12306-android-Decompile    文件:BasicClassIntrospector.java   
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;
  }
}
项目:12306-android-Decompile    文件:BasicClassIntrospector.java   
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;
  }
}
项目:12306-android-Decompile    文件:BasicClassIntrospector.java   
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);
}
项目:RHome    文件:AnnotatedClass.java   
/**
 * 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);
}
项目:RHome    文件:AnnotatedClass.java   
/**
 * 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;
}
项目:RHome    文件:AnnotatedClass.java   
/**
 * 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;
}
项目:12306-android-Decompile    文件:AnnotatedClass.java   
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;
  }
}
项目:12306-android-Decompile    文件:BasicClassIntrospector.java   
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;
  }
}
项目:12306-android-Decompile    文件:BasicClassIntrospector.java   
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;
  }
}
项目:12306-android-Decompile    文件:BasicClassIntrospector.java   
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;
  }
}
项目:12306-android-Decompile    文件:BasicClassIntrospector.java   
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);
}
项目:ingress-indonesia-dev    文件:AnnotatedClass.java   
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;
  }
}
项目:12306-android-Decompile    文件:AnnotatedClass.java   
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;
}
项目:12306-android-Decompile    文件:AnnotatedClass.java   
public static AnnotatedClass constructWithoutSuperTypes(Class<?> paramClass, AnnotationIntrospector paramAnnotationIntrospector, ClassIntrospector.MixInResolver paramMixInResolver)
{
  AnnotatedClass localAnnotatedClass = new AnnotatedClass(paramClass, Collections.emptyList(), paramAnnotationIntrospector, paramMixInResolver);
  localAnnotatedClass.resolveClassAnnotations();
  return localAnnotatedClass;
}
项目:12306-android-Decompile    文件:AnnotatedClass.java   
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;
}
项目:12306-android-Decompile    文件:AnnotatedClass.java   
public static AnnotatedClass constructWithoutSuperTypes(Class<?> paramClass, AnnotationIntrospector paramAnnotationIntrospector, ClassIntrospector.MixInResolver paramMixInResolver)
{
  AnnotatedClass localAnnotatedClass = new AnnotatedClass(paramClass, Collections.emptyList(), paramAnnotationIntrospector, paramMixInResolver);
  localAnnotatedClass.resolveClassAnnotations();
  return localAnnotatedClass;
}
项目:ingress-indonesia-dev    文件:AnnotatedClass.java   
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;
}
项目:ingress-indonesia-dev    文件:AnnotatedClass.java   
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;
}