/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  com.l7tech.util.Functions$Binary
 *  jakarta.persistence.criteria.Expression
 *  jakarta.persistence.criteria.Predicate
 */
package com.l7tech.server;

import com.l7tech.server.HibernateEntityManager;
import com.l7tech.server.ak;
import com.l7tech.util.Functions;
import jakarta.persistence.criteria.Expression;
import jakarta.persistence.criteria.Predicate;
import java.util.Map;

class al
implements Functions.Binary<Predicate, Predicate, Object> {
    final Map.Entry val$entry;
    final ak this$2;

    /*
     * Ignored method signature, as it can't be verified against descriptor
     */
    al(ak ak2, Map.Entry entry) {
        this.this$2 = ak2;
        this.val$entry = entry;
    }

    public Predicate call(Predicate predicate, Object object) {
        predicate = object == HibernateEntityManager.NULL || object == null ? this.this$2.val$builder.or((Expression)predicate, (Expression)this.this$2.val$builder.isNull((Expression)HibernateEntityManager.expandNestedAttribute(this.this$2.val$root, (String)this.val$entry.getKey(), true))) : (object == HibernateEntityManager.NOTNULL ? this.this$2.val$builder.or((Expression)predicate, (Expression)this.this$2.val$builder.isNotNull((Expression)HibernateEntityManager.expandNestedAttribute(this.this$2.val$root, (String)this.val$entry.getKey(), true))) : this.this$2.val$builder.or((Expression)predicate, (Expression)this.this$2.val$builder.equal((Expression)HibernateEntityManager.expandNestedAttribute(this.this$2.val$root, (String)this.val$entry.getKey(), true), object)));
        return predicate;
    }
}

