Basically, if you have detailed knowledge of Java bytecode/class file, you can do all the three things with the lower-level API of Javassist. If you want to use only higher-level API, then
> 1. retrieve all the variable names and its corresponding values > (global variables, and local variables) ? You can obtain not local variable names but all the fields. > 2. can I insert a statement into a specific line within a method? Yes. > 3. can I modify a specific statement ? The answer depends on the kind of statement. You can modify method calls, field accesses, etc but not all the kinds. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841086#3841086 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841086 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
