1 package com.beust.jcommander.dynamic; 2 3 import com.beust.jcommander.DynamicParameter; 4 5 import org.testng.collections.Maps; 6 7 import java.util.Map; 8 9 public class DSimple { 10 11 @DynamicParameter(names = "-D", description = "Dynamic parameters go here") 12 public Map<String, String> params = Maps.newHashMap(); 13 14 @DynamicParameter(names = "-A", assignment = "@") 15 public Map<String, String> params2 = Maps.newHashMap(); 16 } 17