@SuppressWarnings("unchecked")
    private void addCondition(Context context, int i, Path<?> path, Role role) {
        EntityPath<?> alias = context.replacements.get(i);
        from(alias);
        Predicate condition = ExpressionUtils.predicate(Ops.IN, alias, path.getMetadata().getParent());
        if (role == Role.WHERE) {
            super.where(condition);
        } else {
            super.having(condition);
        }
    }
{@code JDOQueryMixin} extends {@link QueryMixin} to provide module-specific extensions

@author tiwe

@param <T>
querydsl-jdo/src/main/java/com/querydsl/jdo/JDOQueryMixin.java