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
Depends on:
Reported: 2011-05-02 11:58 UTC by mco
Modified: 2011-05-02 11:59 UTC (History)
0 users

See Also:
Exception Reporter:

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

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() {

            public void mouseClicked(MouseEvent e) {}

            public void mousePressed(MouseEvent e) {}

            public void mouseReleased(MouseEvent e) {}

            public void mouseEntered(MouseEvent e) {}

            public void mouseExited(MouseEvent e) {}

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