code: public static Map<String, Method> serviceMethods(Class<?> serviceInterface) {
      Map<String, Method> methods =
          Arrays.stream(serviceInterface.getMethods())
              .filter(method -> method.isAnnotationPresent(ServiceMethod.class))
              .collect(Collectors.toMap(Reflect::methodName, Function.identity()));
  
      return Collections.unmodifiableMap(methods);
    }
docs: Util function to get service Method map from service api.
  
  @param serviceInterface with @Service annotation.
  @return service name.