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 139783

Summary: Add "quick hierarchy" for methods
Product: java Reporter: klaasjanelzinga <klaasjanelzinga>
Component: EditorAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: blocker CC: markiewb
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: Example with description

Description klaasjanelzinga 2008-07-12 09:37:06 UTC
Currently I am using Eclipse as well as Netbeans. A feature I miss in Netbeans is the "quick hierarchy" from eclipse:
- I have an interface.
- I have an implementing class.
- I have a class that uses the interface. 

If (in eclipse) my cursor is on a method of the interface and I press ctrl-t (quick hierarchy) I can navigate to the
implementing class. The functionality in netbeans is to position the cursor on the interface type and then
ctrl-shift-F12 (open hierarchy), then I can navigate to the implementing classes.

Besides this hierarchy viewer a more 'Quick Hierarchy' would be nice. Also, if the cursor is on a method, use this as a
starting point in the hierarchy navigation (types implementing this method).
Comment 1 markiewb 2013-01-16 17:27:44 UTC
Created attachment 130293 [details]
Example with description

(In reply to comment #0)
> Currently I am using Eclipse as well as Netbeans. A feature I miss in Netbeans
> is the "quick hierarchy" from eclipse:
> - I have an interface.
> - I have an implementing class.
> - I have a class that uses the interface. 
> 
> If (in eclipse) my cursor is on a method of the interface and I press ctrl-t
> (quick hierarchy) I can navigate to the
> implementing class. The functionality in netbeans is to position the cursor on
> the interface type and then
> ctrl-shift-F12 (open hierarchy), then I can navigate to the implementing
> classes.
> 
Works for me. I tested it with interfaces/classes in 7.3. FYI There was a hierarchy view redesign in 7.3.

---
Yes, what is still missing is the hierarchy view for methods. So i will rename this issue to reflect it.

The usecase is "I want to see where the given method is defined or overridden"

Details - as seen in eclipse ui - see screenshot
* invoke "Call hierarchy view" for a method -> the hierarchy view is opened
** the symbol of the classes/interfaces where the method is NOT defined nor overriden will be grayed out
** the symbol of the classes/interfaces where the method is defined or overriden is "colorful"/not grayed out