code: protected Object[] getArguments(IQueryContext context) {
          List<Object> args = new ArrayList<>();
          createArgumentList(args, context);
          return args.toArray();
      }
docs: Prepares an argument list from the query context.
  
  @param context The query context.
  @return An argument list.