// if they provided hints
// if no hint is provided then we will use generics to determine the mapping type
if (fieldMap.getDestHintContainer() == null) {
Class<?> genericType = fieldMap.getGenericType(destObj.getClass());
if (genericType != null) {
HintContainer destHintContainer = new HintContainer();
destHintContainer.setHintName(genericType.getName());
FieldMap cloneFieldMap = (FieldMap) fieldMap.clone();
cloneFieldMap.setDestHintContainer(destHintContainer); // should affect only this time as fieldMap is cloned
fieldMap = cloneFieldMap;
}
}