title: Using field of type ListAttribute of static metamodel in a CriteriaQuery
body: <p>I have the following entity</p>
  
  <pre><code>@Entity
  @Table(name = "merchants")
  public class Merchant implements Serializable {
  ...
      @ElementCollection
      @CollectionTable(name = "keywords", joinColumns = @JoinColumn(name = "merchant_id"))
      private List&lt;String&gt; keywords;
  ...
  }
  </code></pre>
  
  <p>which has corresponding static metamodel</p>
  
  <pre><code>@Generated(value = "org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor")
  @StaticMetamodel(Merchant.class)
  public abstract class Merchant_ {
  ...
      public static volatile ListAttribute&lt;Merchant, String&gt; keywords;
  ...
  }
  </code></pre>
  
  <p>How do I write queries using <code>CriteriaBuilder</code> to check if <code>keywords</code> attribute contains given value?</p>