public BooleanExpression in(Collection<? extends T> right) {
        if (right.size() == 1) {
            return eq(right.iterator().next());
        } else {
            return Expressions.booleanOperation(Ops.IN, mixin, ConstantImpl.create(right));
        }
    }
Create a {@code this in right} expression

@param right rhs of the comparison
@return this in right
querydsl-core/src/main/java/com/querydsl/core/types/dsl/SimpleExpression.java