6 Feb 2007 10:27
How to acquire the method's parameters?
Lighter Joul <zhouliang531 <at> 163.com>
2007-02-06 09:27:49 GMT
2007-02-06 09:27:49 GMT
Hi, i'm a newbie in bcel. recently i have to develop an tool, something like
aop weaver. i want to acquire the method's parameters. such as:
m1(int i, String j, Object o )
{
......
m1_org( i, j, o ); //created by bcel
......
}
m1_org(int i, String j, Object o)
{
......
}
that is, in m1() method, i want to create a method invoking m1_org(), and
the parameters are the same with m1().
i have read a lot about bcel docs, and know how to invoke m1_org() method,
but the problem is, i don't know how to acquire and confirm the parameters.
i think of localvariabletable, however, i don't know how to do it excatly.
can anyone give me some suggestions. any help will be appreciated. looking
forwards your kindly reply!
--
--
View this message in context: http://www.nabble.com/How-to-acquire-the-method%27s-parameters--tf3179617.html#a8822943
Sent from the BCEL - User mailing list archive at Nabble.com.
RSS Feed