netbeansnetbeans6.7netbeans6.5

Open Implementation (type hierarchy) functionality in NetBeans?


When I have Java code like this:

someInterface.someMethod();

how do I get Netbeans to show me which classes have implementations of someMethod() (not the interface).

In Eclipse this is done with Ctrl+T, but pressing Ctrl+T on the method did nothing in Netbeans 6.5 and I can't where the type hierarchy functionality is in Netbeans 6.5.

Thanks.


Solution

  • This functionality already exists in Netbeans: Alt+F7, check 'Find All Subtypes', and click OK. Thanks to tkellerer for pointing this out on the Netbeans forums

    http://forums.netbeans.org/viewtopic.php?p=49638#49638

    This is widely overlooked functionality in Netbeans, perhaps because there is no key binding for it, so I've changed my enhancement request to add a key binding for the sequence "Alt+F7, check 'Find All Subtypes', and click OK"?