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.
build 070803 1. Create a class diagram. Add a class element and name it. 2. Generate code 3. Transform this class to enum. 4. Generate code -- The constructor is still there. The generated code as shown below: public enum myclass3 { ; myclass3 () { } }
A constructor is a legal thing in an enum. Thus it is left in the model after transformation, thus it is code generated.