code: private static NamedArgument[] toNamedArguments(Argument[] args) {
  	NamedArgument[] nargs = new NamedArgument[args.length];
  	for (int i = 0; i < args.length; i++) {
  	    nargs[i] = (NamedArgument) args[i];
  	}
  
  	return nargs;
      }
docs: translate a array of arguments to a araay of NamedArguments, attention no check if the elements
  are really named arguments
  
  @param args
  @return