[jboss-user] [Javassist user questions] - Matching assert statements

bseshadri do-not-reply at jboss.com
Fri May 9 19:47:55 EDT 2008


Hi,

I'm new to javassist. I'm looking to instrument class files upon matching a particular function call and assert statements. I'm having difficulty in trying to match assert statements. I'd appreciate any help in this regard.

for example,
I need to replace 

assert (t != NULL)

with 
foo ();
assert (t!=NULL)
bar();


Thanks,
Bharathi


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149875#4149875

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149875



More information about the jboss-user mailing list