docs: public static <S> TypeInformation<S> fromMethodParameter(Method method, int index) {
  
          LettuceAssert.notNull(method, "Method must not be null!");
          return new ClassTypeInformation(method.getDeclaringClass()).createInfo(method.getGenericParameterTypes()[index]);
      }