@Override
    public FilterProvider transform(final ObjectGraph graph) {
        // Root entity.
        final FilteringPropertyFilter root = new FilteringPropertyFilter(graph.getEntityClass(),
                graph.getFields(),
                createSubfilters(graph.getEntityClass(), graph.getSubgraphs()));

        return new FilteringFilterProvider(root);
    }
@ Override public FilterProvider transform ( final ObjectGraph graph ) { final FilteringPropertyFilter root = new FilteringPropertyFilter ( graph . getEntityClass ( ) , graph . getFields ( ) , createSubfilters ( graph . getEntityClass ( ) , graph . getSubgraphs ( ) ) ) ; return new FilteringFilterProvider ( root ) ; }
{@inheritDoc}