diff options
author | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2003-04-25 14:17:16 +0000 |
---|---|---|
committer | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2003-04-25 14:17:16 +0000 |
commit | b17378b7f612925f8fd7a7556192d189fd38fd3b (patch) | |
tree | 1395d005fd6fcd485a8315afcf3f7598058a5853 | |
parent | 345ac1e04e6aa481c530d9312e4055a853830b3c (diff) | |
download | javassist-b17378b7f612925f8fd7a7556192d189fd38fd3b.tar.gz javassist-b17378b7f612925f8fd7a7556192d189fd38fd3b.zip |
improved a javadoc comment.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@11 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
-rw-r--r-- | src/main/javassist/CtMethod.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/javassist/CtMethod.java b/src/main/javassist/CtMethod.java index c5955a47..b5785f88 100644 --- a/src/main/javassist/CtMethod.java +++ b/src/main/javassist/CtMethod.java @@ -208,6 +208,10 @@ public final class CtMethod extends CtBehavior { /** * Sets the encoded modifiers of the method. * + * <p>Changing the modifiers may cause a problem. + * For example, if a non-static method is changed to static, + * the method will be rejected by the bytecode verifier. + * * @see Modifier */ public void setModifiers(int mod) { |