>         Method[] methods = bclass.getMethods();
>         Method method = null;
>         // HOW DO I GET THE BCEL METHOD CORRESPONDING TO
>         // a java.lang.reflect.Method?
>         for (int i = 0; i < methods.length; i++) {
>             if (m.getName() == methods[i].getName() &&
>                     m.toString().equals(methods[i].toString())) {
>                 method = methods[i];
>                 break;
>             }
>         }
Comparing the names access flags and the method signature
should be the correct way. However, I don't know whether
reflect.Method allows to obtain the signature.

Cheers
  Markus
 
--
berlin.de - meine stadt im netz. Jetzt eigene eMail-adresse @berlin.de sichern!
http://webmail.berlin.de


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to