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.
This was fixed once in issue 97560 but it's coming back now. There is no extra operation if using "Reverse Engineer Operation" menu item. Repro steps: - create a java project with the following class import javax.swing.JDialog; public class TestDialog extends JDialog { public TestDialog() { initComponents(); } public void initComponents(){ setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE); } } - reverse engineer the java project - cdfs the operation "initComponents" to a sequence diagram - expand the nodes again and "public setDefaultCloseOperation(int operation)" is now a new operation in class TestDialog. See attached screenshot.
Created attachment 50611 [details] re-operation result
This is an issue with the java16.etd file. Need to add package token descriptors.
Added TokenDescriptor elements to the java16 library. In OperationRE, added check for null cpClassifier. If the classifier is null, then it needs the entire path to resolve the class. This is done in getOperation. In MethodEvent.getFullQNameOfValue was changed to get the class right away and then build the name. The REClass.getPackage works now that the Library contains the TokenDescriptors for the package in the UML:Class elements.
verified in trunk build 20071022.