Sorry, it's spec. method.insertAfter(methodEnd, true); // true --> do as finally |
If the second parameter to insertAfter() is true, then the local variable declared by addLocalVariable() is not vivible in the code inserted by insertAfter(). If the second parameter is false, your code should work well. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3890452#3890452 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3890452 ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user