docs: public void afterPropertiesSet() {
  
  		ApplicationContext context = this.context;
  
  		if (context == null) {
  			throw new IllegalStateException("ApplicationContext not set!");
  		}
  
  		Class<?> type = this.type;
  
  		if (type == null) {
  			throw new IllegalStateException("No type configured!");
  		}
  
  		this.targetSource = new BeansOfTypeTargetSource(context, type, false, exclusions);
  	}