code: public static List<Expression> transformArgsToList(String operator, Val<Expression>[] args) {
          List<Expression> et = Lists.newArrayListWithCapacity(args.length);
          for (Val<Expression> e : args) {
              if (e.object() instanceof Expression) {
                  et.add(e.expr());
              } else {
                  throw new QuerySyntaxException(Messages.get("dsl.arguments.error3", operator));
              }
          }
          return et;
      }
docs: <p>transformArgsToList.</p>
  
  @param operator a {@link java.lang.String} object.
  @param args an array of {@link ameba.db.dsl.QueryExprMeta.Val} objects.
  @return a {@link java.util.List} object.