public static String extractServiceName(final MethodDescriptor<?, ?> method) {
        return MethodDescriptor.extractFullServiceName(method.getFullMethodName());
    }
Extracts the service name from the given method.

@param method The method to get the service name from.
@return The extracted service name.
@see MethodDescriptor#extractFullServiceName(String)
@see #extractMethodName(MethodDescriptor)
grpc-common-spring-boot/src/main/java/net/devh/boot/grpc/common/util/GrpcUtils.java