public void updateMap( Object source, Map<Object, Object> destinationMap, TranslationSource translationSource, MapProperty property ) {
if ( source instanceof Map ) {
Map<Object, Object> sourceMap = (Map<Object, Object>)source;
updateMapByKey( sourceMap, destinationMap, translationSource, property );
} else {
throw new UnsupportedTranslationException( "Cannot update Map from " + source.getClass().getName() );
}
}