private void setUnaryOrServerRequestParams(SofaRequest sofaRequest, Request request,
                                               Serializer serializer, Method declaredMethod, boolean isServerStreamCall) {
        Class[] argTypes = getArgTypes(request, isServerStreamCall);
        Object[] invokeArgs = getInvokeArgs(request, argTypes, serializer, isServerStreamCall);

        // fill sofaRequest
        sofaRequest.setMethod(declaredMethod);
        sofaRequest.setMethodArgs(invokeArgs);
        sofaRequest.setMethodArgSigs(ClassTypeUtils.getTypeStrs(argTypes, true));
    }
Resolve method invoke args into request for unary or server-streaming calls.

@param sofaRequest    SofaRequest
@param request        Request
@param serializer     Serializer
@param declaredMethod Target invoke method
remoting/remoting-triple/src/main/java/com/alipay/sofa/rpc/server/triple/GenericServiceImpl.java