class HibernateProjectedResultMapper {

    protected <T, R> String[] returnFields(Query<T, R> query) {
        List<String> list = query.getReturnFields();
        String[] array = new String[list.size()];
        return list.toArray(array);
    }

    public  HibernateProjectedResultMapper(ProjectedResultMapper mapper);

}