for (int i = 0; i < fields.length; ++i) {
ClassInfo fieldClassMeta = fields[i].getFieldClass();
String fieldName = fields[i].getFieldName();
GenericClass genericFieldClass = classMetaToGenericClass(reflector,
fieldClassMeta);
genericFields[i] = new GenericField(fieldName, genericFieldClass,
fields[i]._isPrimitive, fields[i]._isArray, fields[i]._isNArray);
}
genericClass.initFields(genericFields);
return genericClass;