code: public static IVarargDependencyInjector bean(final Object target) {
  		return new AbstractVarargDependencyInjector() {
  			public void with(Object... dependencies) {
  				TypeBasedInjector injector = new TypeBasedInjector();
  				for (Object dependency : dependencies) {
  					injector.validateInjectionOf(target, dependency);
  				}
  				for (Object dependency : dependencies) {
  					injector.inject(target, dependency);
  				}
  			}
  		};
  	}
docs: Returns an injector implementation which uses the given dependency
  object's type to infer which setter/field to inject.
  
  @param target
  The target object for injection.