From: chiba Date: Wed, 17 Aug 2005 17:39:39 +0000 (+0000) Subject: Modified javadoc comments. X-Git-Tag: rel_3_17_1_ga~430 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ff329de74b48a2a8431024ae1097abbdac60aa8f;p=javassist.git Modified javadoc comments. git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@194 30ef5769-5b8d-40dd-aea6-55b5d6557bb3 --- diff --git a/src/main/javassist/CtBehavior.java b/src/main/javassist/CtBehavior.java index 7bde7ae6..791457c4 100644 --- a/src/main/javassist/CtBehavior.java +++ b/src/main/javassist/CtBehavior.java @@ -305,6 +305,10 @@ public abstract class CtBehavior extends CtMember { * The declared variable can be accessed in the code snippet inserted * by insertBefore(), insertAfter(), etc. * + *

If the second parameter asFinally to + * insertAfter() is true, the declared local variable + * is not visible from the code inserted by insertAfter(). + * * @param name the name of the variable * @param type the type of the variable * @see #insertBefore(String) @@ -440,6 +444,8 @@ public abstract class CtBehavior extends CtMember { * @param asFinally true if the inserted bytecode is executed * not only when the control normally returns * but also when an exception is thrown. + * If this parameter is true, the inserted code cannot + * access local variables. */ public void insertAfter(String src, boolean asFinally) throws CannotCompileException