return new ArrayEncoder(propertyName, clazz.getComponentType(), valueEncoder);
}
}
else if (field.getAnnotation(EmbeddedIn.class) != null)
{
return new EmbeddedInEncoder(clazz);
}
else if (field.isAnnotationPresent(EncodeWith.class) || field.getType().isAnnotationPresent(EncodeWith.class))
{
Class<? extends CustomEncoder<?, ?>> encoderClass;
if (field.isAnnotationPresent(EncodeWith.class))