public static Predicate or(Predicate left, Predicate right) {
        left = (Predicate) extract(left);
        right = (Predicate) extract(right);
        if (left == null) {
            return right;
        } else if (right == null) {
            return left;
        } else {
            return predicate(Ops.OR, left, right);
        }
    }
Create a {@code left or right} expression

@param left lhs of expression
@param right rhs of expression
@return left or right
querydsl-core/src/main/java/com/querydsl/core/types/ExpressionUtils.java