use of com.blazebit.persistence.parser.predicate.IsEmptyPredicate in project blaze-persistence by Blazebit.
the class EqualityCheckingVisitor method visit.
@Override
public Boolean visit(IsEmptyPredicate predicate) {
if (referenceExpression.getClass() != predicate.getClass()) {
return Boolean.TRUE;
}
IsEmptyPredicate referencePredicate = (IsEmptyPredicate) referenceExpression;
if (referencePredicate.isNegated() != predicate.isNegated()) {
return Boolean.TRUE;
}
referenceExpression = referencePredicate.getExpression();
return predicate.getExpression().accept(this);
}
Aggregations