private BeanMappingObject getFromRepository(Class src, Class target, BeanMappingConfigRespository repository) {
        BeanMappingObject object = repository.getBeanMappingObject(src, target);
        if (object == null) { // 再尝试一下map接口的处理
            boolean isSrcMap = isMap(src);
            boolean isTargetMap = isMap(target);
            if (isSrcMap && isTargetMap) {
                object = repository.getBeanMappingObject(Map.class, Map.class);
            } else if (isSrcMap) {
                object = repository.getBeanMappingObject(Map.class, target);
            } else if (isMap(target)) {
                object = repository.getBeanMappingObject(src, Map.class);
            }
        }

        return object;
    }
private BeanMappingObject getFromRepository ( Class src , Class target , BeanMappingConfigRespository repository ) { BeanMappingObject object = repository . getBeanMappingObject ( src , target ) ; if ( object == null ) { boolean isSrcMap = isMap ( src ) ; boolean isTargetMap = isMap ( target ) ; if ( isSrcMap && isTargetMap ) { object = repository . getBeanMappingObject ( Map . class , Map . class ) ; } else if ( isSrcMap ) { object = repository . getBeanMappingObject ( Map . class , target ) ; } else if ( isMap ( target ) ) { object = repository . getBeanMappingObject ( src , Map . class ) ; } } return object ; }
@param src
@param target
@return