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)) {
      
      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
Factory method to create evaluator instance