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.

Bug 229849 - Add utility method to create default constructors
Summary: Add utility method to create default constructors
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 7.4
Hardware: All All
: P2 normal (vote)
Assignee: Dusan Balek
URL:
Keywords: API, API_REVIEW_FAST
Depends on:
Blocks:
 
Reported: 2013-05-16 11:46 UTC by Dusan Balek
Modified: 2013-05-21 11:41 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments
Proposed patch (6.03 KB, patch)
2013-05-16 11:48 UTC, Dusan Balek
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dusan Balek 2013-05-16 11:46:50 UTC
A utility method that creates default constructors is needed. Generated constructors should initialize fields and call inherited constructors both with default values.
Comment 1 Dusan Balek 2013-05-16 11:48:47 UTC
Created attachment 134514 [details]
Proposed patch
Comment 2 Dusan Balek 2013-05-21 11:41:45 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/d5f0dbfae385