code: public <T> T nextObject(final Class<T> type) {
          return doPopulateBean(type, new RandomizationContext(type, parameters));
      }
docs: Generate a random instance of the given type.
  
  @param type           the type for which an instance will be generated
  @param <T>            the actual type of the target object
  @return a random instance of the given type
  @throws ObjectCreationException when unable to create a new instance of the given type