code: @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);
      }
docs: {@inheritDoc}