code: public void setTypeResolver(RelationshipResolver resolver, Class<?> type) {
  		if (resolver != null) {
  			String typeName = ReflectionUtils.getTypeName(type);
  
  			if (typeName != null) {
  				typedResolvers.put(type, resolver);
  			}
  		}
  	}
docs: Registers relationship resolver for given type. Resolver will be used if relationship resolution is enabled
  trough relationship annotation.
  @param resolver resolver instance
  @param type type