private Expression<?> asExpression(QueryMetadata metadata) {
        return new SubQueryExpressionImpl<Object>(metadata.getProjection().getType(), metadata);
    }
{@code JPACollectionAnyVisitor} extends the {@link CollectionAnyVisitor} class with module specific
extensions

@author tiwe
querydsl-jpa/src/main/java/com/querydsl/jpa/JPACollectionAnyVisitor.java