singleValueConverter = super.getConverterFromItemType(fieldName, type, definedIn);
if (singleValueConverter == null) {
@SuppressWarnings("unchecked")
final Class<? extends Enum<?>> enumType = (Class<? extends Enum<?>>)type;
@SuppressWarnings({"rawtypes", "unchecked"})
final EnumSingleValueConverter<?> enumConverter = new EnumSingleValueConverter(enumType);
singleValueConverter = enumConverter;
}
enumConverterMap.put(type, singleValueConverter);
}
return singleValueConverter;