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.
in build 061130_7 The reversed engineered model from the attached ListClass.java does not show the attribute "head" in the "ListClass" but it's there in the generated code. Attribute "next" in the nested class "Node" is also missing from the reversed engineered model so generated code does not have this attribute. See attached generated code and attached snapshot of reverse engineered model tree. Repro steps: - create a java project for the attached ListClass.java file - reverse engineer the java project containing ListClass.java file - expand the ListClass and Node class nodes from the reverse engineered model tree Result: 1. "head" attribute is missing from the ListClass node 2. "next" attribute is missing from the nested class Node node 3. visibility of attribute "element" from the nested class Node is "package" where it should be "private"
Created attachment 36406 [details] original ListClass.java
Created attachment 36407 [details] generated ListClass.java
Created attachment 36408 [details] reverse engineered model with missing attributes
More issues: all operations in the nested class "Node" have visibility as "package", they should be "private" instead.
ops, I missed the relationships nodes that is used for mapping attributes of type objects. after confirming with development, this is the way things are mapped as well as the no visibility are mapped to packages. so, this bug is invalid.