code: public <T> DocxStamperConfiguration addTypeResolver(Class<T> resolvedType, ITypeResolver resolver) {
      this.typeResolvers.put(resolvedType, resolver);
      return this;
    }
docs: <p>
  Registers the given ITypeResolver for the given class. The registered ITypeResolver's resolve() method will only
  be called with objects of the specified class.
  </p>
  <p>
  Note that each type can only be resolved by ONE ITypeResolver implementation. Multiple calls to addTypeResolver()
  with the same resolvedType parameter will override earlier calls.
  </p>
  
  @param resolvedType the class whose objects are to be passed to the given ITypeResolver.
  @param resolver     the resolver to resolve objects of the given type.
  @param <T>          the type resolved by the ITypeResolver.