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 137839 - static nested class are not generated properly
Summary: static nested class are not generated properly
Status: RESOLVED DUPLICATE of bug 86135
Alias: None
Product: uml
Classification: Unclassified
Component: Code Generation (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@uml
URL:
Keywords:
Depends on: 86135
Blocks:
  Show dependency tree
 
Reported: 2008-06-20 19:06 UTC by ali_el_gamal
Modified: 2009-01-26 19:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Archive containing the netbeans projects that illustrates the problem (39.00 KB, application/octet-stream)
2008-06-20 19:08 UTC, ali_el_gamal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ali_el_gamal 2008-06-20 19:06:23 UTC
I've done the following scenario:
1- Created a new Java Application with only one class that has a static nested class inside it.
2- Used the Reverse Engineering feature to generate UML model for it
3- From the UML model, I generated the code with "Add Merge Markers to Existing Source Elements" checked

The result:
The code the generated but the nested class is no longer static.
Comment 1 ali_el_gamal 2008-06-20 19:08:07 UTC
Created attachment 63181 [details]
Archive containing the netbeans projects that illustrates the problem
Comment 2 Sergey Petrov 2009-01-26 19:17:39 UTC
in real it's more like a duplcate of issue 86135 with request for static property support.

*** This issue has been marked as a duplicate of 86135 ***