From ff329de74b48a2a8431024ae1097abbdac60aa8f Mon Sep 17 00:00:00 2001 From: chiba Date: Wed, 17 Aug 2005 17:39:39 +0000 Subject: [PATCH] Modified javadoc comments. git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@194 30ef5769-5b8d-40dd-aea6-55b5d6557bb3 --- src/main/javassist/CtBehavior.java | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.39.5