public static <T> QBean<T> bean(Class<? extends T> type, Expression<?>... exprs) {
        return new QBean<T>(type, exprs);
    }
Create a Bean populating projection for the given type and expressions

<p>Example</p>
<pre>
UserDTO dto = query.select(
    Projections.bean(UserDTO.class, user.firstName, user.lastName));
</pre>

@param <T> type of projection
@param type type of the projection
@param exprs arguments for the projection
@return factory expression
querydsl-core/src/main/java/com/querydsl/core/types/Projections.java