code: public <T> T newInstance (Class<T> type) {
  		Registration registration = getRegistration(type);
  		ObjectInstantiator instantiator = registration.getInstantiator();
  		if (instantiator == null) {
  			instantiator = newInstantiator(type);
  			registration.setInstantiator(instantiator);
  		}
  		return (T)instantiator.newInstance();
  	}
docs: Creates a new instance of a class using {@link Registration#getInstantiator()}. If the registration's instantiator is null,
  a new one is set using {@link #newInstantiator(Class)}.