}
@VisibleForTesting
/* package */static List<String> getValues(CmdLineIterable<ParsedArg> args) {
List<String> values = new ArrayList<String>();
ParsedArg nextValue = args.incrementAndGet();
while (nextValue != null && nextValue.getType().equals(ParsedArg.Type.VALUE)) {
values.add(nextValue.getName());
nextValue = args.incrementAndGet();
}
args.descrementIndex();
return values;
}