// Maybe converting to an Object array of a certain component type?
// Note: Primitives are already dealt with and registered in the map
final Class<?> componentType = type.getComponentType();
if (!componentType.isPrimitive()) {
// Use the ObjectArrayConvertor to deal with this
converter = new ObjectArrayConverter(componentType);
}
} else if (type.isEnum()) {
// Converting to an enum type - construct a new EnumConverter
converter = new EnumConverter<T>(type);
} else {