MCPcopy Create free account
hub / github.com/apache/dubbo-go / IsGenericInvocation

Method IsGenericInvocation

protocol/invocation/rpcinvocation.go:94–99  ·  view source on GitHub ↗

IsGenericInvocation gets if this is a generic invocation

()

Source from the content-addressed store, hash-verified

92
93// IsGenericInvocation gets if this is a generic invocation
94func (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.
102func (r *RPCInvocation) ParameterTypes() []reflect.Type {

Callers 1

ActualMethodNameMethod · 0.95

Calls 2

MethodNameMethod · 0.95
ArgumentsMethod · 0.95

Tested by

no test coverage detected