Class<?> clazz = ReflectionUtils.getBaseClass(type);
final boolean index = !field.isAnnotationPresent(NoIndex.class);
if (field.getAnnotation(Serialize.class) != null)
{
return new SerializableEncoder(propertyName);
}
else if (Map.class.isAssignableFrom(clazz))
{
Type[] types = ((ParameterizedType) type).getActualTypeArguments();
FieldEncoder keyEncoder = getFieldEncoder(propertyName + MapEncoder.cKeyPrefix, field, types[0]);