Adam Siemion Adam Siemion - 11 months ago 59
Java Question

How to see the arguments types of the methods from the superclasses when overriding methods in IntelliJ?

I extend from a class which has many overloaded methods (same name, different argument). I would like to override one of these methods, but the box with suggestions contains method names only without types. Is there a setting for it?

overriding a method from a superclass which contains many overloaded methods

Answer Source

I use ctrl+o / ctrl+i to select a method that I want to override/implement. There are all methods which possibly can be overridden/implemented with a full signature and a return type in the opening dialog box.

If the "Quick Documentation" feature is configurated as a popup, also it is convenient to press ctrl+q on the selected suggestion to see this method documentation.