public static < T > ExpressionList < T > betweenIfNotNull ( ExpressionList < T > expressionList , String propertyName , Object start , Object end ) { Assert . notNull ( expressionList , "expressionList must not null" ) ; Assert . hasText ( propertyName , "propertyName must not null" ) ; if ( start != null && end != null ) { return expressionList . between ( propertyName , start , end ) ; } return expressionList ; }
Return a ExpressionList specifying propertyName between start and end .