{
return new EnumEncoder(propertyName, clazz, index);
}
else if (field.getAnnotation(Text.class) != null)
{
return new TextEncoder(propertyName);
}
else if (char.class == clazz || Character.class == clazz)
{
return new CharEncoder(propertyName, index);
}