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.
Description: Steps : 1. Reverse engineer the attached java class. Issues : 1. The model tree node for the method " boolean sameAvg(Stats<?> ob)" displays the method signature as "package boolean sameAvg(Stats ob)". 2. Drag and drop the "Stats" class into a class diagram. The method in the methods compartment does not show wildcard argument
Created attachment 32136 [details] WildcardDemo.java
Will be fixed when new parser strategy is implemented.
Needs to be verified in NB 6.0.
a bit better now - it is REd into Stats<>
UML does not have a way to represent the wildcard notation.
In order to support this issue we would have to enhance the UML metamodel. We will either have to create a special TemplateParameterSubstitution, or a special classifier. If we decided to extend the metamodel, we will then have to worry about how to handle XMI import/export.