BasicDBList list = (BasicDBList) from.get(name());
if (list != null) {
Collection collection = (Collection) field.get(instance);
for (Object o : list) {
//noinspection unchecked
collection.add(childMapper.fromDbValue(o));
}
}
field.setAccessible(false);
} catch (Exception e) {
LOGGER.error(e.getMessage(), e);