@Override
                public boolean equals(Object o) {
                    if (o == this) {
                        return true;
                    } else if (o instanceof BooleanExpression) {
                        BooleanExpression other = (BooleanExpression) o;
                        return (other.mixin.equals(this.mixin));
                    } else {
                        return false;
                    }
                }
Create a new BooleanExpression

@param expr Expression of type Boolean
@return new BooleanExpression
querydsl-core/src/main/java/com/querydsl/core/types/dsl/Expressions.java