diff options
author | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2005-08-17 17:39:39 +0000 |
---|---|---|
committer | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2005-08-17 17:39:39 +0000 |
commit | ff329de74b48a2a8431024ae1097abbdac60aa8f (patch) | |
tree | 70ec11aa7d0418d91999f8a41e1d603c8d9a10cc | |
parent | a776280a9fbcba1916a5424c5b7998430beefcf5 (diff) | |
download | javassist-ff329de74b48a2a8431024ae1097abbdac60aa8f.tar.gz javassist-ff329de74b48a2a8431024ae1097abbdac60aa8f.zip |
Modified javadoc comments.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@194 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
-rw-r--r-- | src/main/javassist/CtBehavior.java | 6 |
1 files changed, 6 insertions, 0 deletions
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 <code>insertBefore()</code>, <code>insertAfter()</code>, etc. * + * <p>If the second parameter <code>asFinally</code> to + * <code>insertAfter()</code> is true, the declared local variable + * is not visible from the code inserted by <code>insertAfter()</code>. + * * @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 |