* A convenience shortcut for building NOT_IN expression. Return ASTTrue for empty
* collection.
*/
public static Expression notInExp(String pathSpec, Collection<?> values) {
if (values.isEmpty()) {
return new ASTTrue();
}
return new ASTNotIn(new ASTObjPath(pathSpec), new ASTList(values));
}