Hi,

I just started playing around with BCEL a little bit.  I have a question
regarding method parameter names:

Is it possible to retrieve the parameter names of a method (as typed in the
source) from a compiled class file with BCEL?  I found that BCEL always
returns names like "arg0", "arg1" and so on.  But if I look at the constant
pool, I can find the names of the parameters as entered in the source code
if the source was compiled with the debug option.  But I can't find any
references to those constants.  Does anyone have an idea how to do this?

Regards,

Knut Wannheden.

P.S. I'm not on the BCEL user list, so I'd be glad if you could CC any
replies to the address in the FROM field.  Thanks.

Reply via email to