Stephen Friedrich wrote on Dec 26, 2008 00:24:
Or am I missing some subtle point where a different type could be returned?
I'm afraid so.
If a component defines an @Unwrap method, then getInstance() will return the result of invoking the @Unwrap method, which could be a different type.
Ouch, hadn't thought of that. Thanks for the answer.
A little bit of javadoc for the methods would be great...