Hi, simply have a look at the API oder better at the Tutorial too, there i guess u can find everything u want. The process of getting this info should be sth like this:
1) load class 2) get desired method 3) use your XYZExprEditor, which should inherit from from javassist.expr.ExprEditor 4) call CtMethod.instrument(XYZExprEditor) (of course in this case CtMethod should be an instance the method u want to look at) 5) within your XYZExprEditor, there is a Method edit(MethodCall ...) which identifies an call to a method within a method body. With this class MethodCall u can get the desired infos i guess. Hopefully this info helped u a bit and i didnt make a mistake Bye View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3866600#3866600 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3866600 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
