Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0-rc-1
-
Fix Version/s: 1.0-rc-1
-
Component/s: stub generation
-
Labels:None
-
Number of attachments :
Description
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; }
Appears that final is missing as well as static, will have a look.
What version of the plugin are you using?