http://www.w3.org/ns/prov#value | - I think C extends T is the best option, but this makes it impossible to use a visitor on Component if T is an interface: public final <R, T> R visitParents(final Class<T> c, final IVisitor<? super T, R> visitor) Another option is 2 methods, one for interfaces and one for components, so add this one: public final <R, T> R visitParentContainers(final Class<?> c, final IVisitor<? super MarkupContaine
|