aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/javassist/CtClass.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/javassist/CtClass.java')
-rw-r--r--src/main/javassist/CtClass.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/javassist/CtClass.java b/src/main/javassist/CtClass.java
index 5fdd3495..a757ef0e 100644
--- a/src/main/javassist/CtClass.java
+++ b/src/main/javassist/CtClass.java
@@ -553,7 +553,8 @@ public abstract class CtClass {
/**
* Changes a super class unless this object represents an interface.
- * The new super class must be compatible with the old one.
+ * The new super class must be compatible with the old one; for example,
+ * it should inherit from the old super class.
*
* <p>If this object represents an interface, this method is equivalent
* to <code>addInterface()</code>; it appends <code>clazz</code> to