code: @Override
  	public void setVariants(Map<String, VariantSet> variantSets) {
  
  		if (variantSets != null) {
  			this.variants = new TreeMap<>(variantSets);
  			variantKeys = VariantUtils.getAllVariantKeys(this.variants);
  		}
  	}
docs: Set the list of variants for variant resources
  
  @param variantSets