private void loadRelation(Object obj, String path) {
        if(obj instanceof Map){
            loadMapRelation((Map<?, ?>) obj, path);
        } else if(obj instanceof List){
            loadListRelation((List<?>) obj, path);
        } else {
            throw new RuntimeException("无法识别的类型!");
        }
    }
private void loadRelation(Object obj, String path) {
        if(obj instanceof Map){
            loadMapRelation((Map<?, ?>) obj, path);
        } else if(obj instanceof List){
            loadListRelation((List<?>) obj, path);
        } else {
            throw new RuntimeException("无法识别的类型!");
        }
    }
private void loadRelation ( Object obj , String path ) { if ( obj instanceof Map ) { loadMapRelation ( ( Map < ? , ? > ) obj , path ) ; } else if ( obj instanceof List ) { loadListRelation ( ( List < ? > ) obj , path ) ; } else { throw new RuntimeException ( "无法识别的类型!"); } }
解析配置信息
@param obj
@param path
解析配置信息