Inspectopedia Help

Unnecessary call to 'super()'

Reports calls to no-arg superclass constructors during object construction.

Such calls are unnecessary and may be removed.


class Foo { Foo() { super(); } }

After the quick-fix is applied:

class Foo { Foo() { } }

Inspection Details

Available in:

IntelliJ IDEA 2023.3, Qodana for JVM 2023.3


Java, 233.SNAPSHOT

Last modified: 13 July 2023