l" title="type parameter in Join">Z</a>,<a href="../../../jakarta/persistence/criteria/Join.html" title="type parameter in Join">X</a>&gt;&nbsp;on(<a href="../../../jakarta/persistence/criteria/Expression.html" title="interface in jakarta.persistence.criteria">Expression</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&gt;&nbsp;restriction)</pre>
<div class="block">Modify the join to restrict the result acc