Iterator keys = toReturn.keySet().iterator();
while (keys.hasNext()) {
Object key = (Object) keys.next();
Object fieldValue = toReturn.get(key);
GWTCompatibilityEvaluatorTypes evaluatorTypes = new GWTCompatibilityEvaluatorTypes(fieldValue);
Compatibilizable compatibilizable = evaluatorTypes.getCompatibilizableAdapter();
fieldValue = compatibilizable.adapt(fieldValue);
map.put(key, fieldValue);
}
return map;
}
return null;