code: protected AApplyExp getApplyExp(PExp root, List<PExp> arglist)
  	{
  		AApplyExp apply = new AApplyExp();
  		apply.setRoot(root.clone());
  		List<PExp> args = new Vector<PExp>();
  
  		for (PExp arg : arglist)
  		{
  			args.add(arg.clone());
  		}
  
  		apply.setArgs(args);
  		return apply;
  	}
docs: Generate an AApplyExp