docs: @SuppressWarnings({ "unchecked", "rawtypes" })
      protected Type resolveType(Type type) {
  
          Map<TypeVariable, Type> map = new HashMap<>();
          map.putAll(getTypeVariableMap());
  
          return ResolvableType.forType(type, new TypeVariableMapVariableResolver(map)).getType();
      }