private static <R, P, W, M> ServerMethodDefinition<W, M> wrapMethod(
            final ServerMethodDefinition<R, P> definition,
            final MethodDescriptor<W, M> wrappedMethod) {
        final ServerCallHandler<W, M> wrappedHandler = wrapHandler(definition.getServerCallHandler());
        return ServerMethodDefinition.create(wrappedMethod, wrappedHandler);
    }
wrap Method.
@param definition ServerMethodDefinition
@param wrappedMethod MethodDescriptor
@param <R> origin request message
@param <P> origin response message
@param <W> wrap request message
@param <M> wrap response message
@return wrap method
shenyu-client/shenyu-client-grpc/src/main/java/org/apache/shenyu/client/grpc/json/JsonServerServiceInterceptor.java