@Test public void testSubFacets() { List<Facet> subFacets = nestedFacet.subFacets(true); assertEquals(2, subFacets.size()); }
@Override public List<Facet> subFacets(boolean autoCreateParent) { return child.subFacets(autoCreateParent); }
SubFacet implements Facet { @Override public List<Facet> subFacets(boolean autoCreateParent) { return child.subFacets(autoCreateParent); } }
SubFacet implements Facet { @Override public List<Facet> subFacets(boolean autoCreateParent) { return child.subFacets(autoCreateParent); } SubFacet(Facet parent, Facet child, boolean autoCreateParent); }
SubFacet implements Facet { @Override public List<Facet> subFacets(boolean autoCreateParent) { return child.subFacets(autoCreateParent); } SubFacet(Facet parent, Facet child, boolean autoCreateParent); @Override Facet flatten(); @Override A getAnnotation(Class<A> annotationType); @Override String getName(); @Override GenericType getType(); @Override Object getValue(Object pojo); @Override boolean hasAnnotation(Class<A> annotationType); @Override void setValue(Object pojo, Object value); @Override List<Facet> subFacets(boolean autoCreateParent); }
SubFacet implements Facet { @Override public List<Facet> subFacets(boolean autoCreateParent) { return child.subFacets(autoCreateParent); } SubFacet(Facet parent, Facet child, boolean autoCreateParent); @Override Facet flatten(); @Override A getAnnotation(Class<A> annotationType); @Override String getName(); @Override GenericType getType(); @Override Object getValue(Object pojo); @Override boolean hasAnnotation(Class<A> annotationType); @Override void setValue(Object pojo, Object value); @Override List<Facet> subFacets(boolean autoCreateParent); static final String SEPARATOR; }