docs: public static Map<Method, MethodInfo> methodsInfo(Class<?> serviceInterface) {
      return Collections.unmodifiableMap(
          serviceMethods(serviceInterface).values().stream()
              .collect(
                  Collectors.toMap(
                      Function.identity(),
                      method1 ->
                          new MethodInfo(
                              serviceName(serviceInterface),
                              methodName(method1),
                              parameterizedReturnType(method1),
                              communicationMode(method1),
                              method1.getParameterCount(),
                              requestType(method1)))));
    }