This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 151125 [details] Normal constructor generator Given a class with all members defined as final the constructor generator will not provide a template to generate a constructor for these members. If however one or more is not marked as final a constructor generator for all members is available, including the final members. // Provides only WidgetController() public class WidgetService { final WidgetService ws; } // Provides WidgetController(WidgetService) public class WidgetService { WidgetService ws; } // Provides WidgetController(WidgetService, FooService) public class WidgetService { final WidgetService ws; FooService fs; }
Created attachment 151126 [details] No constructor generator for all final
Created attachment 151127 [details] Constructor generator where at least one member is not final
*** This bug has been marked as a duplicate of bug 247282 ***