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 91267 - RE Operation: Messages from Method-Local Inner Classes are incorrectly shown on the diagram
Summary: RE Operation: Messages from Method-Local Inner Classes are incorrectly shown ...
Status: REOPENED
Alias: None
Product: uml
Classification: Unclassified
Component: Reverse Engineering (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Kris Richards
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-19 11:08 UTC by Alexandr Scherbatiy
Modified: 2007-09-28 16:47 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
IDE snap-shot (19.61 KB, image/png)
2006-12-19 11:10 UTC, Alexandr Scherbatiy
Details
sequence diagram (22.45 KB, image/png)
2007-09-20 17:36 UTC, Peter Lam
Details
generated sqd (21.28 KB, image/png)
2007-09-28 00:22 UTC, Peter Lam
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2006-12-19 11:08:14 UTC
Steps to reproduce:

- Reverse engineer the 'void testMethodLocaInnerClass()'
   method and create a Sequence diagrams:
  ---------------------------------------------------------------------
     void testMethodLocaInnerClass(){
        
        class InnerClass1{
            
            public void createFile(String name){
                File file = new File(name);
                try {
                    file.createNewFile();
                } catch (IOException ex) {
                    ex.printStackTrace();
                }
            }
        }
        
    }

  ---------------------------------------------------------------------
  There are some messages and combined fragment on the diagram.
  But the operation does not have any method invocations. So the diagram
  should be empty. See the attache IDE snap-shot.
Comment 1 Alexandr Scherbatiy 2006-12-19 11:10:18 UTC
Created attachment 36794 [details]
IDE snap-shot
Comment 2 Peter Lam 2007-03-20 23:30:19 UTC
low use case not currently impacting our installed user base.
Comment 3 Kris Richards 2007-07-16 23:32:23 UTC
This was fixed when I fixed another "exception" label bug.
Comment 4 Kris Richards 2007-07-19 22:56:39 UTC
Note that this bug pertains to the inner class being shown on the diagram at all.
Comment 5 Peter Lam 2007-09-20 17:35:40 UTC
The diagram should not include inner class. Currently it does - see attached screenshot, so re-open.
Comment 6 Peter Lam 2007-09-20 17:36:25 UTC
Created attachment 49184 [details]
sequence diagram
Comment 7 Peter Lam 2007-09-28 00:22:12 UTC
now I got the attached diagram from the recent build with some fixes.
Comment 8 Peter Lam 2007-09-28 00:22:48 UTC
Created attachment 49715 [details]
generated sqd
Comment 9 Kris Richards 2007-09-28 16:47:15 UTC
After meeting with Trey Spiva it was decided that the current display of the inner class is working as designed. We also decided that we could do a better job 
with this display, but not in the current release cycle. I have changed this issue from DEFECT to ENHANCEMENT and lowered the priority to P3.