static member variables not correctly handled by stub generator
---------------------------------------------------------------

                 Key: MGROOVY-128
                 URL: http://jira.codehaus.org/browse/MGROOVY-128
             Project: Maven 2.x Groovy Integration
          Issue Type: Bug
          Components: stub generation
    Affects Versions: 1.0-beta-4
            Reporter: Andreas Heydler
            Assignee: Jason Dillon


The following groovy

class MainModel extends Model implements ExitListener {

   public static final String ACTION_PRINT               = 'print',
                              ACTION_OPEN_PRINT_DIALOG   = 'openPrintDialog',
                              ACTION_OPEN_PREFERENCES    = 'openPreferences',
                              ACTION_EXIT                = 'exit',
                              ACTION_OPEN_TIP_OF_THE_DAY = 'openTipOfTheDay',
                              ACTION_OPEN_HELP_CONTENTS  = 'openHelpContents',
                              ACTION_OPEN_ABOUT_DIALOG   = 'openAboutDialog'

   public static final String MONTH    = 'month',
                              OPERATOR = 'operator',
                              TOTALS   = 'totals'

}

produces this (the static modifier is missing)

/**
 * @source-type GROOVY
 */
public class MainModel extends Model implements ExitListener {

        public String ACTION_PRINT = null;

        public String ACTION_OPEN_PRINT_DIALOG = null;

        public String ACTION_OPEN_PREFERENCES = null;

        public String ACTION_EXIT = null;

        public String ACTION_OPEN_TIP_OF_THE_DAY = null;

        public String ACTION_OPEN_HELP_CONTENTS = null;

        public String ACTION_OPEN_ABOUT_DIALOG = null;

        public String MONTH = null;

        public String OPERATOR = null;

        public String TOTALS = null;

}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to