diff options
author | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2007-10-20 16:47:00 +0000 |
---|---|---|
committer | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2007-10-20 16:47:00 +0000 |
commit | 1d637574afe2089c8a9c0dfa52ea825721da5ce2 (patch) | |
tree | e38b6ea56471f9ad8de7d430682e85342992a46c /src/main/javassist/CtClass.java | |
parent | 58420fe406ca4cb4afec2fb6fc0f65cd11161e5c (diff) | |
download | javassist-1d637574afe2089c8a9c0dfa52ea825721da5ce2.tar.gz javassist-1d637574afe2089c8a9c0dfa52ea825721da5ce2.zip |
for JASSIST-37
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@411 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
Diffstat (limited to 'src/main/javassist/CtClass.java')
-rw-r--r-- | src/main/javassist/CtClass.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/javassist/CtClass.java b/src/main/javassist/CtClass.java index e7aafc26..e5033335 100644 --- a/src/main/javassist/CtClass.java +++ b/src/main/javassist/CtClass.java @@ -898,6 +898,11 @@ public abstract class CtClass { * <p>Here, the type of variable <code>cc</code> is <code>CtClass</code>. * The type of <code>f</code> is <code>CtField</code>. * + * <p>Note: do not change the modifier of the field + * (in particular, do not add or remove <code>static</code> + * to/from the modifier) + * after it is added to the class by <code>addField()</code>. + * * @param init an expression for the initial value. * * @see javassist.CtField.Initializer#byExpr(String) |