aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2003-04-25 14:17:16 +0000
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2003-04-25 14:17:16 +0000
commitb17378b7f612925f8fd7a7556192d189fd38fd3b (patch)
tree1395d005fd6fcd485a8315afcf3f7598058a5853
parent345ac1e04e6aa481c530d9312e4055a853830b3c (diff)
downloadjavassist-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.java4
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) {