public Interface Foo{...}
Is there a way to retrieve which T was given for an implementation of Foo?
For example,>
[edit] Ok, apparently partially possible. Good explanation of how to do it, (including an improvement upon the method posted by SingleShot): http://www.artima.com/weblogs/viewpost.jsp?thread=208860