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 80945 - Issues with reverse engineering of generic class, consisting of wildcard argument
Summary: Issues with reverse engineering of generic class, consisting of wildcard argu...
Status: NEW
Alias: None
Product: uml
Classification: Unclassified
Component: Reverse Engineering (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Trey Spiva
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-24 11:25 UTC by bugbridge
Modified: 2008-02-22 04:05 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
WildcardDemo.java (1.80 KB, text/plain)
2006-07-24 11:26 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bugbridge 2006-07-24 11:25:50 UTC
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
Comment 1 Alexandr Scherbatiy 2006-07-24 11:26:31 UTC
Created attachment 32136 [details]
WildcardDemo.java
Comment 2 Kris Richards 2006-12-15 23:26:13 UTC
Will be fixed when new parser strategy is implemented.
Comment 3 George Vasick 2007-05-18 19:16:04 UTC
Needs to be verified in NB 6.0.
Comment 4 Viktor Lapitski 2007-07-13 22:47:55 UTC
a bit better now - it is REd into Stats<>
Comment 5 Trey Spiva 2007-10-08 19:59:20 UTC
UML does not have a way to represent the wildcard notation.  
Comment 6 Trey Spiva 2007-10-08 20:10:10 UTC
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.