[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: finding method efficiently
From: |
Archie Cobbs |
Subject: |
Re: finding method efficiently |
Date: |
Tue, 28 Sep 2004 08:39:50 -0500 (CDT) |
David Holmes wrote:
> Regardless this is not something I would want to hand code using the
> reflection API as Robert must do.
I have come across this same challenge several times now, i.e.,
having to write code that implements the Java "best match" semantics
for method invocation using reflection. Usually I end up doing something
that works in all the 'easy' cases and punt on the rest.
For an almost-example, look at Classpath's java.lang.Class.internalGetMethod().
So it would be nice if we could write this algorithm once and for all
and make it public somewhere :-)
-Archie
__________________________________________________________________________
Archie Cobbs * CTO, Awarix * http://www.awarix.com
- finding method efficiently, Robert Schuster, 2004/09/27
- Re: finding method efficiently, Tom Tromey, 2004/09/28
- RE: finding method efficiently, David Holmes, 2004/09/28
- Re: finding method efficiently, Tom Tromey, 2004/09/28
- RE: finding method efficiently, David Holmes, 2004/09/28
- Re: finding method efficiently,
Archie Cobbs <=
- Re: finding method efficiently, Tom Tromey, 2004/09/28
- Re: finding method efficiently, Robert Schuster, 2004/09/28
- Re: finding method efficiently, Artur Biesiadowski, 2004/09/28