This content has been marked as final.
Show 2 replies
-
1. Re: Better Component.getInstance()
matt.drees Dec 27, 2008 6:43 PM (in response to stephen)
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.
-
2. Re: Better Component.getInstance()
stephen Dec 29, 2008 4:32 PM (in response to stephen)Ouch, hadn't thought of that. Thanks for the answer.
A little bit of javadoc for the methods would be great...