From: chiba Date: Mon, 28 Dec 2009 08:47:39 +0000 (+0000) Subject: updated doc comments for JIRA 102 X-Git-Tag: rel_3_17_1_ga~143 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3a7bb50f6e34df59a5ec83a5f76b64f21c0426a2;p=javassist.git updated doc comments for JIRA 102 git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@506 30ef5769-5b8d-40dd-aea6-55b5d6557bb3 --- 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 null. * 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 null. * @@ -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 null. *