code: @SuppressWarnings("unchecked")
      public <T> PrefabValueFactory<T> get(Class<T> type) {
          if (type == null) {
              return null;
          }
          return (PrefabValueFactory<T>)cache.get(type.getName());
      }
docs: Retrieves the factory from the cache for the given type.
  
  What happens when there is no factory, is undefined. Always call
  {@link #contains(Class)} first.
  
  @param <T> The returned factory will have this as generic type.
  @param type The type for which a factory is needed.
  @return A factory for the given type, or {@code null} if none is
  available.