IsGenericInvocation gets if this is a generic invocation
()
| 92 | |
| 93 | // IsGenericInvocation gets if this is a generic invocation |
| 94 | func (r *RPCInvocation) IsGenericInvocation() bool { |
| 95 | return (r.MethodName() == constant.Generic || |
| 96 | r.MethodName() == constant.GenericAsync) && |
| 97 | r.Arguments() != nil && |
| 98 | len(r.Arguments()) == 3 |
| 99 | } |
| 100 | |
| 101 | // ParameterTypes gets RPC invocation parameter types. |
| 102 | func (r *RPCInvocation) ParameterTypes() []reflect.Type { |
no test coverage detected