[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: finding method efficiently

From: Tom Tromey
Subject: Re: finding method efficiently
Date: 28 Sep 2004 10:05:09 -0600
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

>>>>> "Archie" == Archie Cobbs <address@hidden> writes:

Archie> So it would be nice if we could write this algorithm once and
Archie> for all and make it public somewhere :-)

Sounds good to me.  It could take a Method[] and a Class[]
representing the arguments, and return the maximally specific methods.
You could lift the code from gcjx if you wanted, though it is probably
easy enough to write it by hand.  The biggest bit in gcjx seems to be
handling method invocation conversion (since this in turn uses other
kinds of conversion).

IMO this is one of those weird little library oversights, like not
being able to get the signature of a class or a method.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]