private static List<Object> convertToGenericObjects(final String type, final Iterable<Object> params) {
        List<Object> list = new ArrayList<>();
        for (Object param : params) {
            list.add(convertToGenericObject(type, param));
        }
        return list;
    }
Convert to GenericObject.

@param type   generic type.
@param params actual parameters.
@return list of GenericObject.
shenyu-plugin/shenyu-plugin-proxy/shenyu-plugin-rpc/shenyu-plugin-sofa/src/main/java/org/apache/shenyu/plugin/sofa/param/SofaParamResolveServiceImpl.java