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 198239 - Anonymous inner classes in navigator panel
Summary: Anonymous inner classes in navigator panel
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 7.0
Hardware: PC Windows 7 x64
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-02 11:58 UTC by mco
Modified: 2011-05-02 11:59 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Netbeans Navigator view (4.63 KB, image/png)
2011-05-02 11:58 UTC, mco
Details
Eclipse Package Explorer view (9.12 KB, image/png)
2011-05-02 11:59 UTC, mco
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mco 2011-05-02 11:58:17 UTC
Created attachment 108046 [details]
Netbeans Navigator view

Would it be possible for anonymous inner classes to be shown in Navigator tree?
Right now there is no information about them.
Eclipse has this feature. You can expand methods with inner classes there and see what methods are overridden there.

Example code (Screenshots of NetBeans navigator and Eclipse Package Explorer included):

public class AnonInnerClass {
    public static void main(String[] args) {
        MouseListener listener = new MouseListener() {

            @Override
            public void mouseClicked(MouseEvent e) {}

            @Override
            public void mousePressed(MouseEvent e) {}

            @Override
            public void mouseReleased(MouseEvent e) {}

            @Override
            public void mouseEntered(MouseEvent e) {}

            @Override
            public void mouseExited(MouseEvent e) {}
        };
    }
}

Thanks.
Comment 1 mco 2011-05-02 11:59:07 UTC
Created attachment 108047 [details]
Eclipse Package Explorer view