ActualMethodName gets actual invocation method name. It returns the method name been called if it's a generic call
()
| 83 | |
| 84 | // ActualMethodName gets actual invocation method name. It returns the method name been called if it's a generic call |
| 85 | func (r *RPCInvocation) ActualMethodName() string { |
| 86 | if r.IsGenericInvocation() { |
| 87 | return r.Arguments()[0].(string) |
| 88 | } else { |
| 89 | return r.MethodName() |
| 90 | } |
| 91 | } |
| 92 | |
| 93 | // IsGenericInvocation gets if this is a generic invocation |
| 94 | func (r *RPCInvocation) IsGenericInvocation() bool { |
nothing calls this directly
no test coverage detected