hang on I'll do a quick-and-dirty benchmark. I've done scarier things with
reflection than this, and I wouldn't categorize them as "extremely" slow.
I suspect just looking up an implemented interface shouldn't cause too
much problems

Stefan Bodewig wrote:

> Rob van Oostrum <[EMAIL PROTECTED]> wrote:
>
> > I'm not 100% sure on this, but I thought the convention is to always
> > call your implementation InterfaceNameImpl. If this is true, you
> > could just do a straight-forward text treatment and drop de Impl
> > from the implementation class.
>
> Possible, but I wouldn't want to rely on this.  I fear using
> reflection here would be extremely slow.
>
> Stefan

Reply via email to