@Test public void testGetAnnotation() { Column column = strictFacet.getAnnotation(Column.class); assertNotNull(column); assertEquals("foo", column.value()); }
@Override public <A extends Annotation> A getAnnotation(Class<A> annotationType) { return child.getAnnotation(annotationType); }
SubFacet implements Facet { @Override public <A extends Annotation> A getAnnotation(Class<A> annotationType) { return child.getAnnotation(annotationType); } }
SubFacet implements Facet { @Override public <A extends Annotation> A getAnnotation(Class<A> annotationType) { return child.getAnnotation(annotationType); } SubFacet(Facet parent, Facet child, boolean autoCreateParent); }
SubFacet implements Facet { @Override public <A extends Annotation> A getAnnotation(Class<A> annotationType) { return child.getAnnotation(annotationType); } 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 <A extends Annotation> A getAnnotation(Class<A> annotationType) { return child.getAnnotation(annotationType); } 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; }