/** * generate list of {@link Expr} for params * * @param params * @return */ public List<Expr> generateArgs(List<ParameterDeclaration> params) { List<Expr> args = new List<Expr>(); for (int y = 0; y < params.getNumChild(); y++) args.add(new VarAccess(params.getChild(y).getID())); return args; }