public IterableChecker<List<T>, T> toList() {
    return toList(x -> x);
  }
Generic checker for a {@link org.immutables.criteria.Criterion}
@param <T>
criteria/common/test/org/immutables/criteria/personmodel/CriteriaChecker.java