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 80019

Summary: Ability to jump to anonymous class
Product: java Reporter: _ gtzabari <gtzabari>
Component: EditorAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description _ gtzabari 2006-07-11 19:50:41 UTC
We should be able to jump to an anonymous class by name. For example I just got:

java.io.NotSerializableException: mobi.gateway.Admin$8

and I have no idea which class $8 refers to. The stack-trace contains no useful
filenames or line numbers and it is not directed to Netbeans' output window so
there is no way for me to jump to this location. I am thinking maybe we should
be able to see anonymous classes listed under the project explorer -> class
browser -> nested classes. There is a section in the browser listing all nested
classes inside a given class, as well as nodes for "fields", "constructors",
etc... I'm expecting this section to contain $1, $2, etc and allow me to jump to
the declaration of these classes in the code.