criteria/common/src/org/immutables/criteria/InMemoryExpressionEvaluator.java
public static <T> Predicate<T> of(Expression<T> expression) {
    if (Expressions.isNil(expression)) {
      // always true
      return instance -> true;
    }

    return new InMemoryExpressionEvaluator<>(expression);
  }
public static <T> Predicate<T> of(Expression<T> expression) {
    if (Expressions.isNil(expression)) {
      // always true
      return instance -> true;
    }

    return new InMemoryExpressionEvaluator<>(expression);
  }
Factory method to create evaluator instance