[jboss-cvs] javassist/src/main/javassist ...

Shigeru Chiba chiba at is.titech.ac.jp
Sat Feb 28 20:56:58 EST 2009


  User: chiba   
  Date: 09/02/28 20:56:58

  Modified:    src/main/javassist     CtNewMethod.java CtClass.java
                        CtMethod.java CtConstructor.java
  Log:
  for preparing 3.10 release
  
  Revision  Changes    Path
  1.14      +3 -1      javassist/src/main/javassist/CtNewMethod.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: CtNewMethod.java
  ===================================================================
  RCS file: /cvsroot/jboss/javassist/src/main/javassist/CtNewMethod.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -b -r1.13 -r1.14
  --- CtNewMethod.java	9 Sep 2008 10:31:17 -0000	1.13
  +++ CtNewMethod.java	1 Mar 2009 01:56:58 -0000	1.14
  @@ -94,6 +94,7 @@
        *                  If it is <code>null</code>, the created method
        *                  does nothing except returning zero or null.
        * @param declaring    the class to which the created method is added.
  +     * @see #make(int, CtClass, String, CtClass[], CtClass[], String, CtClass)
        */
       public static CtMethod make(CtClass returnType,
                                   String mname, CtClass[] parameters,
  @@ -106,7 +107,8 @@
       }
   
       /**
  -     * Creates a method.
  +     * Creates a method.  <code>modifiers</code> can contain
  +     * <code>Modifier.STATIC</code>.
        *
        * @param modifiers         access modifiers.
        * @param returnType        the type of the returned value.
  
  
  
  1.102     +2 -2      javassist/src/main/javassist/CtClass.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: CtClass.java
  ===================================================================
  RCS file: /cvsroot/jboss/javassist/src/main/javassist/CtClass.java,v
  retrieving revision 1.101
  retrieving revision 1.102
  diff -u -b -r1.101 -r1.102
  --- CtClass.java	11 Sep 2008 10:40:08 -0000	1.101
  +++ CtClass.java	1 Mar 2009 01:56:58 -0000	1.102
  @@ -52,7 +52,7 @@
       /**
        * The version number of this release.
        */
  -    public static final String version = "3.9.0.GA";
  +    public static final String version = "3.10.0.GA";
   
       /**
        * Prints the version number and the copyright notice.
  @@ -63,7 +63,7 @@
        */
       public static void main(String[] args) {
           System.out.println("Javassist version " + CtClass.version);
  -        System.out.println("Copyright (C) 1999-2008 Shigeru Chiba."
  +        System.out.println("Copyright (C) 1999-2009 Shigeru Chiba."
                              + " All Rights Reserved.");
       }
   
  
  
  
  1.21      +3 -0      javassist/src/main/javassist/CtMethod.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: CtMethod.java
  ===================================================================
  RCS file: /cvsroot/jboss/javassist/src/main/javassist/CtMethod.java,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -b -r1.20 -r1.21
  --- CtMethod.java	14 Jul 2007 08:53:57 -0000	1.20
  +++ CtMethod.java	1 Mar 2009 01:56:58 -0000	1.21
  @@ -30,6 +30,9 @@
   public final class CtMethod extends CtBehavior {
       protected String cachedStringRep;
   
  +    /**
  +     * @see #make(MethodInfo minfo, CtClass declaring)
  +     */
       CtMethod(MethodInfo minfo, CtClass declaring) {
           super(declaring, minfo);
           cachedStringRep = null;
  
  
  
  1.23      +6 -2      javassist/src/main/javassist/CtConstructor.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: CtConstructor.java
  ===================================================================
  RCS file: /cvsroot/jboss/javassist/src/main/javassist/CtConstructor.java,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -b -r1.22 -r1.23
  --- CtConstructor.java	14 Jul 2007 08:53:57 -0000	1.22
  +++ CtConstructor.java	1 Mar 2009 01:56:58 -0000	1.23
  @@ -318,7 +318,7 @@
   
       /**
        * Makes a copy of this constructor and converts it into a method.
  -     * The signature of the mehtod is the same as the that of this constructor.
  +     * The signature of the method is the same as the that of this constructor.
        * The return type is <code>void</code>.  The resulting method must be
        * appended to the class specified by <code>declaring</code>.
        * If this constructor is a static initializer, the resulting method takes
  @@ -329,12 +329,16 @@
        * eliminated from the resulting method. 
        *
        * <p>The immediate super class of the class declaring this constructor
  -     * must be also a super class of the class declaring the resulting method.
  +     * must be also a super class of the class declaring the resulting method
  +     * (this is obviously true if the second parameter <code>declaring</code> is
  +     * the same as the class declaring this constructor).
        * If the constructor accesses a field, the class declaring the resulting method
        * must also declare a field with the same name and type.
        *
        * @param name              the name of the resulting method.
        * @param declaring         the class declaring the resulting method.
  +     *                          It is normally the same as the class declaring this
  +     *                          constructor.
        * @param map       the hash table associating original class names
        *                  with substituted names.  The original class names will be
        *                  replaced while making a copy.
  
  
  



More information about the jboss-cvs-commits mailing list