Inspectopedia
 
2024.3

Method name same as parent class name

Warning
New
Last modified: 03 December 2024

Reports methods that have the same name as the superclass of the method's class, as such a method name may be confusing.

This inspection doesn't check interfaces or superclasses deep in the hierarchy.

Example:

A quick-fix that renames such methods is available only in the editor.