aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2007-06-12 13:30:14 +0000
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2007-06-12 13:30:14 +0000
commiteba5bad02a901809650a8d6471b2657423191749 (patch)
treee5544769bb60c0eed9d1a684681323c42b4bc14a /src/main
parent634dbbcb87e004e30c74bee40ab1eca0fb2dbc1d (diff)
downloadjavassist-eba5bad02a901809650a8d6471b2657423191749.tar.gz
javassist-eba5bad02a901809650a8d6471b2657423191749.zip
updated pom.xml and a few javadoc comments.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@389 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
Diffstat (limited to 'src/main')
-rw-r--r--src/main/javassist/CtClass.java3
-rw-r--r--src/main/javassist/bytecode/ClassFile.java1
2 files changed, 3 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
diff --git a/src/main/javassist/bytecode/ClassFile.java b/src/main/javassist/bytecode/ClassFile.java
index 4c6a8fd8..4720d289 100644
--- a/src/main/javassist/bytecode/ClassFile.java
+++ b/src/main/javassist/bytecode/ClassFile.java
@@ -326,6 +326,7 @@ public final class ClassFile {
* Sets the super class.
*
* <p>
+ * The new super class should inherit from the old super class.
* This method modifies constructors so that they call constructors declared
* in the new super class.
*/