class ProjectedResultMapper {

    public <R> R mapTo(Class<R> resultClass, Object properties,
            String[] propertyNames) {
        return propertyNames.length == 1
            ? resultClass.cast(properties)
            : mapper.convertValue(propertyMap((Object[]) properties, propertyNames), resultClass);
    }

    public  ProjectedResultMapper(ObjectMapper mapper);
    public  ProjectedResultMapper();

}