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 227723 - Create Hint "create Constructor for enum"
Summary: Create Hint "create Constructor for enum"
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 7.3
Hardware: PC Linux
: P3 normal (vote)
Assignee: Svata Dedic
Depends on:
Reported: 2013-03-20 14:16 UTC by tomzi
Modified: 2013-09-02 14:23 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description tomzi 2013-03-20 14:16:52 UTC
When you create an enum, you will typically start typing:

private enum MyPets {

REX("dog", 5),
KITTY ("cat", 4);


Of course you would get an error here, since the constructor does not exist. 
It would be helpful if Netbeans would provide a hint for me suggestion to create the constructor for me