ClassInfo classInfo = configuration.getClassInfo(value.getClass());
if (classInfo.isArray())
{
// See if this is a primitive array
ArrayInfo arrayInfo = ArrayInfo.class.cast(classInfo);
TypeInfo compInfo = arrayInfo.getComponentType();
while(compInfo instanceof ArrayInfo)
{
arrayInfo = ArrayInfo.class.cast(compInfo);
compInfo = arrayInfo.getComponentType();
}
// Translate
if (compInfo.isPrimitive())
oldArray = convertPrimativeArray(classInfo, value);
else