class MessageBuilder {

    @Deprecated
    public static SofaRequest buildSofaRequest(Class<?> clazz, String method, Class[] argTypes, Object[] args) {
        SofaRequest request = new SofaRequest();
        request.setInterfaceName(clazz.getName());
        request.setMethodName(method);
        request.setMethodArgs(args == null ? CodecUtils.EMPTY_OBJECT_ARRAY : args);
        request.setMethodArgSigs(ClassTypeUtils.getTypeStrs(argTypes, true));
        return request;
    }

}