cvs commit: spice/sandbox/metaclass/src/java/org/realityforge/metaclass/model ClassDescriptor.java

Peter Donald <[email protected]>
Newsgroups gmane.comp.java.spice.cvs
Message-ID <[email protected]>
donaldp     03/10/28 05:26:54

  Modified:    sandbox/metaclass/src/java/org/realityforge/metaclass/model
                        ClassDescriptor.java
  Log:
  Push declared attributes through ClassDescriptor constructor
  
  Revision  Changes    Path
  1.10      +4 -2      spice/sandbox/metaclass/src/java/org/realityforge/metaclass/model/ClassDescriptor.java
  
  Index: ClassDescriptor.java
  ===================================================================
  RCS file: /cvsroot/spice/spice/sandbox/metaclass/src/java/org/realityforge/metaclass/model/ClassDescriptor.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- ClassDescriptor.java	28 Oct 2003 11:27:19 -0000	1.9
  +++ ClassDescriptor.java	28 Oct 2003 13:26:54 -0000	1.10
  @@ -15,7 +15,7 @@
    * the classes methods.
    *
    * @author <a href="mailto:peter at realityforge.org">Peter Donald</a>
  - * @version $Revision: 1.9 $ $Date: 2003/10/28 11:27:19 $
  + * @version $Revision: 1.10 $ $Date: 2003/10/28 13:26:54 $
    */
   public class ClassDescriptor
       extends FeatureDescriptor
  @@ -42,16 +42,18 @@
        * java class but this is not always the case.
        *
        * @param name the name of class
  +     * @param declaredAttributes the declared attributes
        * @param attributes the top level attribute metadata
        * @param fields the field descriptors for class
        * @param methods the method descriptors for class
        */
       public ClassDescriptor( final String name,
  +                            final Attribute[] declaredAttributes,
                               final Attribute[] attributes,
                               final FieldDescriptor[] fields,
                               final MethodDescriptor[] methods )
       {
  -        super( attributes, attributes );
  +        super( declaredAttributes, attributes );
           if( null == name )
           {
               throw new NullPointerException( "name" );
  
  
  


-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.