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 _______________________________________________ Classpath mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/classpath

