In Eclipse, can I find which methods override the method declaration on focus now?
Scenario: When I'm viewing a method in a base class (which interface), I would like to know where the method is overriden (or implemented). Now I just make the method final
and see where I get the errors, but it is not perfect.
Note: I know about class hierarchy
views, but I don't want to go through all the subclasses to find which ones use a custom implementation.
Select the method and click Ctrl+T. Alternatively, right-click on it and select Quick Type Hierachy
.
removed dead ImageShack link - Screenshot
Select the method declaration and hit Ctrl+G to see all declarations.
To see only the declarations inherited by the subject, right-click->Declarations->Hierarchy
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With