Inspectopedia 2025.2 Help

Unnecessary 'super' qualifier

Reports unnecessary super qualifiers in method calls and field references.

A super qualifier is unnecessary when the field or method of the superclass is not hidden/overridden in the calling class.

Example:

class Foo { void foo() {} } class Bar extends Foo { void bar() { super.foo(); } }

After the quick-fix is applied:

class Foo { void foo() {} } class Bar extends Foo { void bar() { foo(); } }

Locating this inspection

By ID

Can be used to locate inspection in e.g. Qodana configuration files, where you can quickly enable or disable it, or adjust its settings.

UnnecessarySuperQualifier
Via Settings dialog

Path to the inspection settings via IntelliJ Platform IDE Settings dialog, when you need to adjust inspection settings directly from your IDE.

Settings or Preferences | Editor | Inspections | Java | Code style issues

Use the inspection settings to ignore qualifiers that help to distinguish superclass members access from the identically named members of the outer class.

See also the following inspections:

  • Java | Visibility | Access to inherited field looks like access to element from surrounding code

  • Java | Visibility | Call to inherited method looks like call to local method

Inspection options

Here you can find the description of settings available for the Unnecessary 'super' qualifier inspection, and the reference of their default values.

Ignore clarification 'super' qualifier

Default value:

Not selected

Suppressing Inspection

You can suppress this inspection by placing the following comment marker before the code fragment where you no longer want messages from this inspection to appear:

//noinspection UnnecessarySuperQualifier

More detailed instructions as well as other ways and options that you have can be found in the product documentation:

Inspection Details

By default bundled with:

IntelliJ IDEA 2025.2, Qodana for JVM 2025.2,

Last modified: 18 September 2025