code: public <T, Y> List<T> getListByAttributeIn(Class<T> entityCls,
              SingularAttribute<T, Y> attribute, List<Y> values) {
          if (entityCls == null) {
              throw new IllegalArgumentException("entityCls cannot be null");
          }
          if (attribute == null) {
              throw new IllegalArgumentException("attribute cannot be null");
          }
          TypedQuery<T> query
                  = createTypedQueryIn(entityCls, attribute, values);
          return query.getResultList();
      }
docs: Executes a query for entities that have any of the given attribute
  values.
  
  @param <T> the type of the entity.
  @param <Y> the type of the attribute.
  @param entityCls the entity class. Cannot be <code>null</code>.
  @param attribute the attribute. Cannot be <code>null</code>.
  @param values the values.
  
  @return the matching entities. Guaranteed not <code>null</code>.