diff options
Diffstat (limited to 'src')
-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) { |