How to acquire the method's parameters?
Lighter Joul <[email protected]> Tue, 6 Feb 2007 01:27:49 -0800 (PST)
| Newsgroups | gmane.comp.jakarta.bcel.user |
|---|---|
| Message-ID | <[email protected]> |
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.