Inspectopedia
 
2024.3

Implicit call to 'super()'

Warning
New
Last modified: 03 December 2024

Reports constructors that do not begin with a call to "super" constructor or another constructor of the same class.

Such constructors can be thought of as implicitly beginning with a call to super(). Some coding standards prefer that such calls to super() be made explicitly.

Example:

After the quick-fix is applied:

Use the inspection settings to ignore classes extending directly from Object. For instance: