aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2009-12-28 08:47:39 +0000
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2009-12-28 08:47:39 +0000
commit3a7bb50f6e34df59a5ec83a5f76b64f21c0426a2 (patch)
tree637a2455314a4137395148d4e3f000a195983f14 /src
parent3778b48d832356929c2608d0c76f0e84dfae91ee (diff)
downloadjavassist-3a7bb50f6e34df59a5ec83a5f76b64f21c0426a2.tar.gz
javassist-3a7bb50f6e34df59a5ec83a5f76b64f21c0426a2.zip
updated doc comments for JIRA 102
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@506 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
Diffstat (limited to 'src')
-rw-r--r--src/main/javassist/CtNewConstructor.java7
-rw-r--r--src/main/javassist/CtNewMethod.java10
2 files changed, 13 insertions, 4 deletions
diff --git a/src/main/javassist/CtNewConstructor.java b/src/main/javassist/CtNewConstructor.java
index d0b82540..f510356a 100644
--- a/src/main/javassist/CtNewConstructor.java
+++ b/src/main/javassist/CtNewConstructor.java
@@ -108,11 +108,14 @@ public class CtNewConstructor {
}
/**
- * Creats a copy of a constructor.
+ * Creates a copy of a constructor.
+ * This is a convenience method for calling
+ * {@link CtConstructor#CtConstructor(CtConstructor, CtClass, ClassMap) this constructor}.
+ * See the description of the constructor for particular behavior of the copying.
*
* @param c the copied constructor.
* @param declaring the class to which the created method is added.
- * @param map the hashtable associating original class names
+ * @param map the hash table associating original class names
* with substituted names.
* It can be <code>null</code>.
*
diff --git a/src/main/javassist/CtNewMethod.java b/src/main/javassist/CtNewMethod.java
index 60802542..ec2a5faf 100644
--- a/src/main/javassist/CtNewMethod.java
+++ b/src/main/javassist/CtNewMethod.java
@@ -145,10 +145,13 @@ public class CtNewMethod {
/**
* Creates a copy of a method. This method is provided for creating
* a new method based on an existing method.
+ * This is a convenience method for calling
+ * {@link CtMethod#CtMethod(CtMethod, CtClass, ClassMap) this constructor}.
+ * See the description of the constructor for particular behavior of the copying.
*
* @param src the source method.
* @param declaring the class to which the created method is added.
- * @param map the hashtable associating original class names
+ * @param map the hash table associating original class names
* with substituted names.
* It can be <code>null</code>.
*
@@ -163,11 +166,14 @@ public class CtNewMethod {
* Creates a copy of a method with a new name.
* This method is provided for creating
* a new method based on an existing method.
+ * This is a convenience method for calling
+ * {@link CtMethod#CtMethod(CtMethod, CtClass, ClassMap) this constructor}.
+ * See the description of the constructor for particular behavior of the copying.
*
* @param src the source method.
* @param name the name of the created method.
* @param declaring the class to which the created method is added.
- * @param map the hashtable associating original class names
+ * @param map the hash table associating original class names
* with substituted names.
* It can be <code>null</code>.
*