code: private static Filter[] filters(QueryFragment... fragments) {
          Filter[] ret = new Filter[fragments.length];
  
          for (int i = 0; i < fragments.length; ++i) {
              ret[i] = fragments[i].getFilter();
          }
  
          return ret;
      }
docs: Converts the list of applicators to the list of filters.
  
  @param fragments the list of applicators
  @return the list of corresponding filters