public final JsonSerializer<?> findSerializerByAddonType(SerializationConfig paramSerializationConfig, JavaType paramJavaType, BasicBeanDescription paramBasicBeanDescription, BeanProperty paramBeanProperty, boolean paramBoolean) { Class localClass = paramJavaType.getRawClass(); if (Iterator.class.isAssignableFrom(localClass)) return buildIteratorSerializer(paramSerializationConfig, paramJavaType, paramBasicBeanDescription, paramBeanProperty, paramBoolean); if (Iterable.class.isAssignableFrom(localClass)) return buildIterableSerializer(paramSerializationConfig, paramJavaType, paramBasicBeanDescription, paramBeanProperty, paramBoolean); if (CharSequence.class.isAssignableFrom(localClass)) return ToStringSerializer.instance; return null; }