code: private static Map<TypeVariable<?>, Type> getTypeVariableMap(Class<?> type) {
          return getTypeVariableMap(type, new HashSet<Type>());
      }
docs: Little helper to allow us to create a generified map, actually just to satisfy the compiler.
  
  @param type must not be {@literal null}.
  @return