@SuppressWarnings("unchecked")
    @Override
    public Class<T> getType() {
        Expression<?> projection = queryMixin.getMetadata().getProjection();
        return (Class) (projection != null ? projection.getType() : Void.class);
    }
{@code FetchableSubQueryBase} extends {@link com.querydsl.core.support.FetchableQueryBase} to provide fluent Expression creation functionality

@param <T>
@param <Q>
querydsl-core/src/main/java/com/querydsl/core/support/FetchableSubQueryBase.java