Assuming I have method init()
in some MyBaseClass
.
Is there a way to quickly find overrides of this method in subclasses?
Sure, I can find throughout a project @Override void init
, but maybe there is a smarter way?
Assuming I have method init()
in some MyBaseClass
.
Is there a way to quickly find overrides of this method in subclasses?
Sure, I can find throughout a project @Override void init
, but maybe there is a smarter way?
Please use Navigate | Implementations.
Alternatively you can display the method hierarchy by selecting the method and then "Navigate -> Method hierarchy" (Ctrl+Shift+H).
(Pay attention to the symbol footnote: "(+) method is defined in this class", "(-) method is not defined in the class" and "(!) method must be defined since the class is not abstract")
Ctrl+Shift+H
is priceless. The "Pay attention to the symbol footnote: (+/-)" is even more priceless. :) –
Slap To only see overridden methods, highlight the superclass method, then press ctrl+alt+b
.
© 2022 - 2024 — McMap. All rights reserved.