We have a need to get the simple method name from
MethodDescriptor. For example, the simple service name of
service/method is
method. This can be implemented using
extractFullServiceName but sometimes we want both the full service name as well as the simple method name and implementing
extractSimpleMethodName in terms of
extractFullServiceName would mean searching for
/ at least twice through the full method name. This can be avoided if
MethodDescriptor stored the full service name and the simple method name separately. Before I start working on a PR, I'd like to know if this is a change the team would be open to and, if so, any other information that might be helpful.
Thanks,
Noel