code: public Predicate create(Filter filter) {
          List<Predicate> predicates = new ArrayList<>(filter.getPredicates().size());
  
          for (org.cdlflex.fruit.Predicate fp : filter.getPredicates()) {
              predicates.add(create(fp));
          }
  
          return connect(predicates, filter.getConnective());
      }
docs: Creates a joined predicate from the given Filter.
  
  @param filter the filter
  @return a new JPA criteria Predicate