Java 类org.codehaus.jackson.map.BeanDescription 实例源码

项目:jee-rest    文件:JsonRootDeserializers.java   
@Override
public JsonDeserializer<?> findBeanDeserializer(JavaType type, DeserializationConfig config,
        DeserializerProvider provider, BeanDescription beanDesc, BeanProperty property) throws JsonMappingException {
    // Check if we have to find a deserializer for the root level.
    if (type.getRawClass() == JsonRootWrapper.class) {
        Class contentType = type.containedType(0).getRawClass();

        // Check if a deserializer already exists
        if (deserializers.containsKey(contentType)) {
            return deserializers.get(contentType);
        } else {
            // Create the new deserializer and cache it.
            JsonRootWrapperDeserializer deserializer = new JsonRootWrapperDeserializer(contentType);
            deserializers.put(contentType, deserializer);
            return deserializer;
        }
    }
    return null;
}
项目:ingress-indonesia-dev    文件:a.java   
public final JsonDeserializer<?> findMapDeserializer(MapType paramMapType, DeserializationConfig paramDeserializationConfig, DeserializerProvider paramDeserializerProvider, BeanDescription paramBeanDescription, BeanProperty paramBeanProperty, KeyDeserializer paramKeyDeserializer, TypeDeserializer paramTypeDeserializer, JsonDeserializer<?> paramJsonDeserializer)
{
  Class localClass = paramMapType.getRawClass();
  if (dh.class.isAssignableFrom(localClass))
  {
    dx.class.isAssignableFrom(localClass);
    cq.class.isAssignableFrom(localClass);
    return new e(paramMapType, paramKeyDeserializer, paramTypeDeserializer, a(paramJsonDeserializer, paramDeserializationConfig, paramDeserializerProvider, paramBeanProperty, paramMapType));
  }
  if (hs.class.isAssignableFrom(localClass))
  {
    ep.class.isAssignableFrom(localClass);
    jb.class.isAssignableFrom(localClass);
    kf.class.isAssignableFrom(localClass);
  }
  return null;
}
项目:12306-android-Decompile    文件:SimpleDeserializers.java   
public JsonDeserializer<?> findBeanDeserializer(JavaType paramJavaType, DeserializationConfig paramDeserializationConfig, DeserializerProvider paramDeserializerProvider, BeanDescription paramBeanDescription, BeanProperty paramBeanProperty)
  throws JsonMappingException
{
  if (this._classMappings == null)
    return null;
  return (JsonDeserializer)this._classMappings.get(new ClassKey(paramJavaType.getRawClass()));
}
项目:12306-android-Decompile    文件:SimpleDeserializers.java   
public JsonDeserializer<?> findCollectionDeserializer(CollectionType paramCollectionType, DeserializationConfig paramDeserializationConfig, DeserializerProvider paramDeserializerProvider, BeanDescription paramBeanDescription, BeanProperty paramBeanProperty, TypeDeserializer paramTypeDeserializer, JsonDeserializer<?> paramJsonDeserializer)
  throws JsonMappingException
{
  if (this._classMappings == null)
    return null;
  return (JsonDeserializer)this._classMappings.get(new ClassKey(paramCollectionType.getRawClass()));
}
项目:12306-android-Decompile    文件:SimpleDeserializers.java   
public JsonDeserializer<?> findCollectionLikeDeserializer(CollectionLikeType paramCollectionLikeType, DeserializationConfig paramDeserializationConfig, DeserializerProvider paramDeserializerProvider, BeanDescription paramBeanDescription, BeanProperty paramBeanProperty, TypeDeserializer paramTypeDeserializer, JsonDeserializer<?> paramJsonDeserializer)
  throws JsonMappingException
{
  if (this._classMappings == null)
    return null;
  return (JsonDeserializer)this._classMappings.get(new ClassKey(paramCollectionLikeType.getRawClass()));
}
项目:12306-android-Decompile    文件:SimpleDeserializers.java   
public JsonDeserializer<?> findEnumDeserializer(Class<?> paramClass, DeserializationConfig paramDeserializationConfig, BeanDescription paramBeanDescription, BeanProperty paramBeanProperty)
  throws JsonMappingException
{
  if (this._classMappings == null)
    return null;
  return (JsonDeserializer)this._classMappings.get(new ClassKey(paramClass));
}
项目:12306-android-Decompile    文件:SimpleDeserializers.java   
public JsonDeserializer<?> findMapDeserializer(MapType paramMapType, DeserializationConfig paramDeserializationConfig, DeserializerProvider paramDeserializerProvider, BeanDescription paramBeanDescription, BeanProperty paramBeanProperty, KeyDeserializer paramKeyDeserializer, TypeDeserializer paramTypeDeserializer, JsonDeserializer<?> paramJsonDeserializer)
  throws JsonMappingException
{
  if (this._classMappings == null)
    return null;
  return (JsonDeserializer)this._classMappings.get(new ClassKey(paramMapType.getRawClass()));
}
项目:12306-android-Decompile    文件:SimpleDeserializers.java   
public JsonDeserializer<?> findMapLikeDeserializer(MapLikeType paramMapLikeType, DeserializationConfig paramDeserializationConfig, DeserializerProvider paramDeserializerProvider, BeanDescription paramBeanDescription, BeanProperty paramBeanProperty, KeyDeserializer paramKeyDeserializer, TypeDeserializer paramTypeDeserializer, JsonDeserializer<?> paramJsonDeserializer)
  throws JsonMappingException
{
  if (this._classMappings == null)
    return null;
  return (JsonDeserializer)this._classMappings.get(new ClassKey(paramMapLikeType.getRawClass()));
}
项目:12306-android-Decompile    文件:SimpleDeserializers.java   
public JsonDeserializer<?> findBeanDeserializer(JavaType paramJavaType, DeserializationConfig paramDeserializationConfig, DeserializerProvider paramDeserializerProvider, BeanDescription paramBeanDescription, BeanProperty paramBeanProperty)
  throws JsonMappingException
{
  if (this._classMappings == null)
    return null;
  return (JsonDeserializer)this._classMappings.get(new ClassKey(paramJavaType.getRawClass()));
}
项目:12306-android-Decompile    文件:SimpleDeserializers.java   
public JsonDeserializer<?> findCollectionDeserializer(CollectionType paramCollectionType, DeserializationConfig paramDeserializationConfig, DeserializerProvider paramDeserializerProvider, BeanDescription paramBeanDescription, BeanProperty paramBeanProperty, TypeDeserializer paramTypeDeserializer, JsonDeserializer<?> paramJsonDeserializer)
  throws JsonMappingException
{
  if (this._classMappings == null)
    return null;
  return (JsonDeserializer)this._classMappings.get(new ClassKey(paramCollectionType.getRawClass()));
}
项目:12306-android-Decompile    文件:SimpleDeserializers.java   
public JsonDeserializer<?> findCollectionLikeDeserializer(CollectionLikeType paramCollectionLikeType, DeserializationConfig paramDeserializationConfig, DeserializerProvider paramDeserializerProvider, BeanDescription paramBeanDescription, BeanProperty paramBeanProperty, TypeDeserializer paramTypeDeserializer, JsonDeserializer<?> paramJsonDeserializer)
  throws JsonMappingException
{
  if (this._classMappings == null)
    return null;
  return (JsonDeserializer)this._classMappings.get(new ClassKey(paramCollectionLikeType.getRawClass()));
}
项目:12306-android-Decompile    文件:SimpleDeserializers.java   
public JsonDeserializer<?> findEnumDeserializer(Class<?> paramClass, DeserializationConfig paramDeserializationConfig, BeanDescription paramBeanDescription, BeanProperty paramBeanProperty)
  throws JsonMappingException
{
  if (this._classMappings == null)
    return null;
  return (JsonDeserializer)this._classMappings.get(new ClassKey(paramClass));
}
项目:12306-android-Decompile    文件:SimpleDeserializers.java   
public JsonDeserializer<?> findMapDeserializer(MapType paramMapType, DeserializationConfig paramDeserializationConfig, DeserializerProvider paramDeserializerProvider, BeanDescription paramBeanDescription, BeanProperty paramBeanProperty, KeyDeserializer paramKeyDeserializer, TypeDeserializer paramTypeDeserializer, JsonDeserializer<?> paramJsonDeserializer)
  throws JsonMappingException
{
  if (this._classMappings == null)
    return null;
  return (JsonDeserializer)this._classMappings.get(new ClassKey(paramMapType.getRawClass()));
}
项目:12306-android-Decompile    文件:SimpleDeserializers.java   
public JsonDeserializer<?> findMapLikeDeserializer(MapLikeType paramMapLikeType, DeserializationConfig paramDeserializationConfig, DeserializerProvider paramDeserializerProvider, BeanDescription paramBeanDescription, BeanProperty paramBeanProperty, KeyDeserializer paramKeyDeserializer, TypeDeserializer paramTypeDeserializer, JsonDeserializer<?> paramJsonDeserializer)
  throws JsonMappingException
{
  if (this._classMappings == null)
    return null;
  return (JsonDeserializer)this._classMappings.get(new ClassKey(paramMapLikeType.getRawClass()));
}
项目:ingress-indonesia-dev    文件:SimpleValueInstantiators.java   
public ValueInstantiator findValueInstantiator(DeserializationConfig paramDeserializationConfig, BeanDescription paramBeanDescription, ValueInstantiator paramValueInstantiator)
{
  ValueInstantiator localValueInstantiator = (ValueInstantiator)this._classMappings.get(new ClassKey(paramBeanDescription.getBeanClass()));
  if (localValueInstantiator == null)
    return paramValueInstantiator;
  return localValueInstantiator;
}
项目:ingress-indonesia-dev    文件:a.java   
public final JsonDeserializer<?> findCollectionDeserializer(CollectionType paramCollectionType, DeserializationConfig paramDeserializationConfig, DeserializerProvider paramDeserializerProvider, BeanDescription paramBeanDescription, BeanProperty paramBeanProperty, TypeDeserializer paramTypeDeserializer, JsonDeserializer<?> paramJsonDeserializer)
{
  Class localClass = paramCollectionType.getRawClass();
  if (ht.class.isAssignableFrom(localClass))
  {
    eo.class.isAssignableFrom(localClass);
    if (cn.class.isAssignableFrom(localClass))
      return new c(paramCollectionType, paramTypeDeserializer, a(paramJsonDeserializer, paramDeserializationConfig, paramDeserializerProvider, paramBeanProperty, paramCollectionType));
    dq.class.isAssignableFrom(localClass);
    bl.class.isAssignableFrom(localClass);
    ky.class.isAssignableFrom(localClass);
    return new c(paramCollectionType, paramTypeDeserializer, a(paramJsonDeserializer, paramDeserializationConfig, paramDeserializerProvider, paramBeanProperty, paramCollectionType));
  }
  if (ct.class.isAssignableFrom(localClass))
  {
    if (dc.class.isAssignableFrom(localClass))
      return new d(paramCollectionType, paramTypeDeserializer, a(paramJsonDeserializer, paramDeserializationConfig, paramDeserializerProvider, paramBeanProperty, paramCollectionType));
    if (du.class.isAssignableFrom(localClass))
    {
      if (dz.class.isAssignableFrom(localClass))
      {
        if (!Comparable.class.isAssignableFrom(paramCollectionType.getContentType().getRawClass()))
          throw new IllegalArgumentException("Can not handle ImmutableSortedSet with elements that are not Comparable<?> (" + localClass.getName() + ")");
        return new g(paramCollectionType, paramTypeDeserializer, a(paramJsonDeserializer, paramDeserializationConfig, paramDeserializerProvider, paramBeanProperty, paramCollectionType));
      }
      return new f(paramCollectionType, paramTypeDeserializer, a(paramJsonDeserializer, paramDeserializationConfig, paramDeserializerProvider, paramBeanProperty, paramCollectionType));
    }
  }
  return null;
}
项目:community-edition-old    文件:SerializerOfExecutionResult.java   
@SuppressWarnings({ "unchecked", "rawtypes" })
@Override
public void serialize(ExecutionResult value, JsonGenerator jgen, SerializerProvider provider)
            throws IOException, JsonGenerationException
{

    SerializationConfig config = provider.getConfig();
    Object rootObj = value.getRoot();
    if (rootObj == null)
    {
        provider.getNullValueSerializer().serialize(null, jgen, provider);
    }
    else
    {
        Class<?> cls = rootObj.getClass();
        Map toBeSerialized = new HashMap(); //create an untyped map, add the contents of the root + the embeds.
        BeanPropertiesFilter filter = value.getFilter();
        if (filter == null) filter = BeanPropertiesFilter.ALLOW_ALL;

        if (Map.class.isAssignableFrom(cls))
        {
            // Its a map so 
            Map rootAsaMap = (Map) rootObj;
            toBeSerialized.putAll(rootAsaMap);
        }
        else
        {
            JavaType classType = config.constructType(cls);
            BeanDescription beanDesc = provider.getConfig().introspect(classType);
            List<BeanPropertyDefinition> props = beanDesc.findProperties();
            for (BeanPropertyDefinition beanProperty : props)
            {
                if (beanProperty.couldSerialize() && filter.isAllowed(beanProperty.getName()))
                {
                    Object propertyValue = ResourceInspectorUtil.invokeMethod(beanProperty.getGetter().getAnnotated(), rootObj);
                    if (propertyValue != null)
                    {
                        if((propertyValue instanceof String))
                        {
                            if(((String)propertyValue).trim().length() > 0)
                            {
                                toBeSerialized.put(beanProperty.getName(), propertyValue);
                            }
                        }
                        else
                        {
                            toBeSerialized.put(beanProperty.getName(), propertyValue);
                        }
                    }
                }
            }
        }

        //Add embedded
        for (Entry<String, Object> embedded : value.getEmbedded().entrySet())
        {
            if (filter == null || filter.isAllowed(embedded.getKey()))
            {
              toBeSerialized.put(embedded.getKey(),embedded.getValue());
            }
        }

        //if its an embedded entity then render the properties (not as an "entry:")
        if (value.isAnEmbeddedEntity())
        {
            jgen.writeObject(toBeSerialized);
        }
        else
        {
            jgen.writeStartObject();
            jgen.writeObjectField("entry", toBeSerialized);
            if (value.getRelated() != null && !value.getRelated().isEmpty())
            {
              jgen.writeObjectField("relations", value.getRelated());
            }
            jgen.writeEndObject();
        }

    }

}
项目:12306-android-Decompile    文件:SimpleSerializers.java   
public JsonSerializer<?> findArraySerializer(SerializationConfig paramSerializationConfig, ArrayType paramArrayType, BeanDescription paramBeanDescription, BeanProperty paramBeanProperty, TypeSerializer paramTypeSerializer, JsonSerializer<Object> paramJsonSerializer)
{
  return findSerializer(paramSerializationConfig, paramArrayType, paramBeanDescription, paramBeanProperty);
}
项目:12306-android-Decompile    文件:SimpleSerializers.java   
public JsonSerializer<?> findCollectionLikeSerializer(SerializationConfig paramSerializationConfig, CollectionLikeType paramCollectionLikeType, BeanDescription paramBeanDescription, BeanProperty paramBeanProperty, TypeSerializer paramTypeSerializer, JsonSerializer<Object> paramJsonSerializer)
{
  return findSerializer(paramSerializationConfig, paramCollectionLikeType, paramBeanDescription, paramBeanProperty);
}
项目:12306-android-Decompile    文件:SimpleSerializers.java   
public JsonSerializer<?> findCollectionSerializer(SerializationConfig paramSerializationConfig, CollectionType paramCollectionType, BeanDescription paramBeanDescription, BeanProperty paramBeanProperty, TypeSerializer paramTypeSerializer, JsonSerializer<Object> paramJsonSerializer)
{
  return findSerializer(paramSerializationConfig, paramCollectionType, paramBeanDescription, paramBeanProperty);
}
项目:12306-android-Decompile    文件:SimpleSerializers.java   
public JsonSerializer<?> findMapLikeSerializer(SerializationConfig paramSerializationConfig, MapLikeType paramMapLikeType, BeanDescription paramBeanDescription, BeanProperty paramBeanProperty, JsonSerializer<Object> paramJsonSerializer1, TypeSerializer paramTypeSerializer, JsonSerializer<Object> paramJsonSerializer2)
{
  return findSerializer(paramSerializationConfig, paramMapLikeType, paramBeanDescription, paramBeanProperty);
}
项目:12306-android-Decompile    文件:SimpleSerializers.java   
public JsonSerializer<?> findMapSerializer(SerializationConfig paramSerializationConfig, MapType paramMapType, BeanDescription paramBeanDescription, BeanProperty paramBeanProperty, JsonSerializer<Object> paramJsonSerializer1, TypeSerializer paramTypeSerializer, JsonSerializer<Object> paramJsonSerializer2)
{
  return findSerializer(paramSerializationConfig, paramMapType, paramBeanDescription, paramBeanProperty);
}
项目:12306-android-Decompile    文件:SimpleSerializers.java   
public JsonSerializer<?> findSerializer(SerializationConfig paramSerializationConfig, JavaType paramJavaType, BeanDescription paramBeanDescription, BeanProperty paramBeanProperty)
{
  Class localClass1 = paramJavaType.getRawClass();
  ClassKey localClassKey = new ClassKey(localClass1);
  if (localClass1.isInterface())
  {
    if (this._interfaceMappings != null)
    {
      JsonSerializer localJsonSerializer5 = (JsonSerializer)this._interfaceMappings.get(localClassKey);
      if (localJsonSerializer5 != null)
        return localJsonSerializer5;
    }
  }
  else if (this._classMappings != null)
  {
    JsonSerializer localJsonSerializer3 = (JsonSerializer)this._classMappings.get(localClassKey);
    if (localJsonSerializer3 != null)
      return localJsonSerializer3;
    for (Class localClass2 = localClass1; localClass2 != null; localClass2 = localClass2.getSuperclass())
    {
      localClassKey.reset(localClass2);
      JsonSerializer localJsonSerializer4 = (JsonSerializer)this._classMappings.get(localClassKey);
      if (localJsonSerializer4 != null)
        return localJsonSerializer4;
    }
  }
  if (this._interfaceMappings != null)
  {
    JsonSerializer localJsonSerializer1 = _findInterfaceMapping(localClass1, localClassKey);
    if (localJsonSerializer1 != null)
      return localJsonSerializer1;
    if (!localClass1.isInterface())
      while (true)
      {
        localClass1 = localClass1.getSuperclass();
        if (localClass1 == null)
          break;
        JsonSerializer localJsonSerializer2 = _findInterfaceMapping(localClass1, localClassKey);
        if (localJsonSerializer2 != null)
          return localJsonSerializer2;
      }
  }
  return null;
}
项目:12306-android-Decompile    文件:SimpleKeyDeserializers.java   
public KeyDeserializer findKeyDeserializer(JavaType paramJavaType, DeserializationConfig paramDeserializationConfig, BeanDescription paramBeanDescription, BeanProperty paramBeanProperty)
{
  if (this._classMappings == null)
    return null;
  return (KeyDeserializer)this._classMappings.get(new ClassKey(paramJavaType.getRawClass()));
}
项目:12306-android-Decompile    文件:SimpleSerializers.java   
public JsonSerializer<?> findArraySerializer(SerializationConfig paramSerializationConfig, ArrayType paramArrayType, BeanDescription paramBeanDescription, BeanProperty paramBeanProperty, TypeSerializer paramTypeSerializer, JsonSerializer<Object> paramJsonSerializer)
{
  return findSerializer(paramSerializationConfig, paramArrayType, paramBeanDescription, paramBeanProperty);
}
项目:12306-android-Decompile    文件:SimpleSerializers.java   
public JsonSerializer<?> findCollectionLikeSerializer(SerializationConfig paramSerializationConfig, CollectionLikeType paramCollectionLikeType, BeanDescription paramBeanDescription, BeanProperty paramBeanProperty, TypeSerializer paramTypeSerializer, JsonSerializer<Object> paramJsonSerializer)
{
  return findSerializer(paramSerializationConfig, paramCollectionLikeType, paramBeanDescription, paramBeanProperty);
}
项目:12306-android-Decompile    文件:SimpleSerializers.java   
public JsonSerializer<?> findCollectionSerializer(SerializationConfig paramSerializationConfig, CollectionType paramCollectionType, BeanDescription paramBeanDescription, BeanProperty paramBeanProperty, TypeSerializer paramTypeSerializer, JsonSerializer<Object> paramJsonSerializer)
{
  return findSerializer(paramSerializationConfig, paramCollectionType, paramBeanDescription, paramBeanProperty);
}
项目:12306-android-Decompile    文件:SimpleSerializers.java   
public JsonSerializer<?> findMapLikeSerializer(SerializationConfig paramSerializationConfig, MapLikeType paramMapLikeType, BeanDescription paramBeanDescription, BeanProperty paramBeanProperty, JsonSerializer<Object> paramJsonSerializer1, TypeSerializer paramTypeSerializer, JsonSerializer<Object> paramJsonSerializer2)
{
  return findSerializer(paramSerializationConfig, paramMapLikeType, paramBeanDescription, paramBeanProperty);
}
项目:12306-android-Decompile    文件:SimpleSerializers.java   
public JsonSerializer<?> findMapSerializer(SerializationConfig paramSerializationConfig, MapType paramMapType, BeanDescription paramBeanDescription, BeanProperty paramBeanProperty, JsonSerializer<Object> paramJsonSerializer1, TypeSerializer paramTypeSerializer, JsonSerializer<Object> paramJsonSerializer2)
{
  return findSerializer(paramSerializationConfig, paramMapType, paramBeanDescription, paramBeanProperty);
}
项目:12306-android-Decompile    文件:SimpleSerializers.java   
public JsonSerializer<?> findSerializer(SerializationConfig paramSerializationConfig, JavaType paramJavaType, BeanDescription paramBeanDescription, BeanProperty paramBeanProperty)
{
  Class localClass1 = paramJavaType.getRawClass();
  ClassKey localClassKey = new ClassKey(localClass1);
  if (localClass1.isInterface())
  {
    if (this._interfaceMappings != null)
    {
      JsonSerializer localJsonSerializer5 = (JsonSerializer)this._interfaceMappings.get(localClassKey);
      if (localJsonSerializer5 != null)
        return localJsonSerializer5;
    }
  }
  else if (this._classMappings != null)
  {
    JsonSerializer localJsonSerializer3 = (JsonSerializer)this._classMappings.get(localClassKey);
    if (localJsonSerializer3 != null)
      return localJsonSerializer3;
    for (Class localClass2 = localClass1; localClass2 != null; localClass2 = localClass2.getSuperclass())
    {
      localClassKey.reset(localClass2);
      JsonSerializer localJsonSerializer4 = (JsonSerializer)this._classMappings.get(localClassKey);
      if (localJsonSerializer4 != null)
        return localJsonSerializer4;
    }
  }
  if (this._interfaceMappings != null)
  {
    JsonSerializer localJsonSerializer1 = _findInterfaceMapping(localClass1, localClassKey);
    if (localJsonSerializer1 != null)
      return localJsonSerializer1;
    if (!localClass1.isInterface())
      while (true)
      {
        localClass1 = localClass1.getSuperclass();
        if (localClass1 == null)
          break;
        JsonSerializer localJsonSerializer2 = _findInterfaceMapping(localClass1, localClassKey);
        if (localJsonSerializer2 != null)
          return localJsonSerializer2;
      }
  }
  return null;
}
项目:12306-android-Decompile    文件:SimpleKeyDeserializers.java   
public KeyDeserializer findKeyDeserializer(JavaType paramJavaType, DeserializationConfig paramDeserializationConfig, BeanDescription paramBeanDescription, BeanProperty paramBeanProperty)
{
  if (this._classMappings == null)
    return null;
  return (KeyDeserializer)this._classMappings.get(new ClassKey(paramJavaType.getRawClass()));
}
项目:ingress-indonesia-dev    文件:SimpleSerializers.java   
public JsonSerializer<?> findCollectionLikeSerializer(SerializationConfig paramSerializationConfig, CollectionLikeType paramCollectionLikeType, BeanDescription paramBeanDescription, BeanProperty paramBeanProperty, TypeSerializer paramTypeSerializer, JsonSerializer<Object> paramJsonSerializer)
{
  return findSerializer(paramSerializationConfig, paramCollectionLikeType, paramBeanDescription, paramBeanProperty);
}
项目:ingress-indonesia-dev    文件:SimpleSerializers.java   
public JsonSerializer<?> findCollectionSerializer(SerializationConfig paramSerializationConfig, CollectionType paramCollectionType, BeanDescription paramBeanDescription, BeanProperty paramBeanProperty, TypeSerializer paramTypeSerializer, JsonSerializer<Object> paramJsonSerializer)
{
  return findSerializer(paramSerializationConfig, paramCollectionType, paramBeanDescription, paramBeanProperty);
}
项目:ingress-indonesia-dev    文件:SimpleSerializers.java   
public JsonSerializer<?> findMapLikeSerializer(SerializationConfig paramSerializationConfig, MapLikeType paramMapLikeType, BeanDescription paramBeanDescription, BeanProperty paramBeanProperty, JsonSerializer<Object> paramJsonSerializer1, TypeSerializer paramTypeSerializer, JsonSerializer<Object> paramJsonSerializer2)
{
  return findSerializer(paramSerializationConfig, paramMapLikeType, paramBeanDescription, paramBeanProperty);
}
项目:ingress-indonesia-dev    文件:SimpleSerializers.java   
public JsonSerializer<?> findMapSerializer(SerializationConfig paramSerializationConfig, MapType paramMapType, BeanDescription paramBeanDescription, BeanProperty paramBeanProperty, JsonSerializer<Object> paramJsonSerializer1, TypeSerializer paramTypeSerializer, JsonSerializer<Object> paramJsonSerializer2)
{
  return findSerializer(paramSerializationConfig, paramMapType, paramBeanDescription, paramBeanProperty);
}
项目:ingress-indonesia-dev    文件:SimpleSerializers.java   
public JsonSerializer<?> findSerializer(SerializationConfig paramSerializationConfig, JavaType paramJavaType, BeanDescription paramBeanDescription, BeanProperty paramBeanProperty)
{
  Class localClass1 = paramJavaType.getRawClass();
  ClassKey localClassKey = new ClassKey(localClass1);
  JsonSerializer localJsonSerializer1;
  if (localClass1.isInterface())
  {
    if (this._interfaceMappings == null)
      break label125;
    localJsonSerializer1 = (JsonSerializer)this._interfaceMappings.get(localClassKey);
    if (localJsonSerializer1 == null)
      break label125;
  }
  label125: 
  do
  {
    do
    {
      return localJsonSerializer1;
      if (this._classMappings == null)
        break;
      localJsonSerializer1 = (JsonSerializer)this._classMappings.get(localClassKey);
    }
    while (localJsonSerializer1 != null);
    for (Class localClass3 = localClass1; ; localClass3 = localClass3.getSuperclass())
    {
      if (localClass3 == null)
        break label125;
      localClassKey.reset(localClass3);
      localJsonSerializer1 = (JsonSerializer)this._classMappings.get(localClassKey);
      if (localJsonSerializer1 != null)
        break;
    }
    if (this._interfaceMappings == null)
      break;
    localJsonSerializer1 = _findInterfaceMapping(localClass1, localClassKey);
  }
  while (localJsonSerializer1 != null);
  if (!localClass1.isInterface())
  {
    Class localClass2 = localClass1;
    JsonSerializer localJsonSerializer2;
    do
    {
      localClass2 = localClass2.getSuperclass();
      if (localClass2 == null)
        break;
      localJsonSerializer2 = _findInterfaceMapping(localClass2, localClassKey);
    }
    while (localJsonSerializer2 == null);
    return localJsonSerializer2;
  }
  return null;
}
项目:ingress-indonesia-dev    文件:SimpleKeyDeserializers.java   
public KeyDeserializer findKeyDeserializer(JavaType paramJavaType, DeserializationConfig paramDeserializationConfig, BeanDescription paramBeanDescription, BeanProperty paramBeanProperty)
{
  if (this._classMappings == null)
    return null;
  return (KeyDeserializer)this._classMappings.get(new ClassKey(paramJavaType.getRawClass()));
}
项目:ingress-indonesia-dev    文件:SimpleDeserializers.java   
public JsonDeserializer<?> findBeanDeserializer(JavaType paramJavaType, DeserializationConfig paramDeserializationConfig, DeserializerProvider paramDeserializerProvider, BeanDescription paramBeanDescription, BeanProperty paramBeanProperty)
{
  if (this._classMappings == null)
    return null;
  return (JsonDeserializer)this._classMappings.get(new ClassKey(paramJavaType.getRawClass()));
}
项目:ingress-indonesia-dev    文件:SimpleDeserializers.java   
public JsonDeserializer<?> findCollectionDeserializer(CollectionType paramCollectionType, DeserializationConfig paramDeserializationConfig, DeserializerProvider paramDeserializerProvider, BeanDescription paramBeanDescription, BeanProperty paramBeanProperty, TypeDeserializer paramTypeDeserializer, JsonDeserializer<?> paramJsonDeserializer)
{
  if (this._classMappings == null)
    return null;
  return (JsonDeserializer)this._classMappings.get(new ClassKey(paramCollectionType.getRawClass()));
}
项目:ingress-indonesia-dev    文件:SimpleDeserializers.java   
public JsonDeserializer<?> findCollectionLikeDeserializer(CollectionLikeType paramCollectionLikeType, DeserializationConfig paramDeserializationConfig, DeserializerProvider paramDeserializerProvider, BeanDescription paramBeanDescription, BeanProperty paramBeanProperty, TypeDeserializer paramTypeDeserializer, JsonDeserializer<?> paramJsonDeserializer)
{
  if (this._classMappings == null)
    return null;
  return (JsonDeserializer)this._classMappings.get(new ClassKey(paramCollectionLikeType.getRawClass()));
}