Got a little puzzle for a true Java Generics specialist... ;)
Let\'s say I have the following two interfaces:
interface Processor { void process(Foo
No, that's not what Java Generics were designed to do.
Also, in my opinion, the need for the type check indicates a problem with the design. I'd suggest trying to re-design it so that this is not necessary.