Method is identical to its super method
Reports methods that are identical to their super methods. Such methods have the same signature as their super method and either have an identical body or only their body consists only of a call to the super method. These methods are redundant and can be removed.
Use the first checkbox below to run the inspection for the methods that override library methods. Checking library methods may slow down the inspection.
Use the second checkbox below to ignore methods that only delegate calls to their super methods.
Inspection options
Option | Type | Default |
---|---|---|
Check methods overriding library methods | Checkbox | true |
Ignore delegates to super methods | Checkbox | true |
Inspection Details | |
---|---|
Available in: | IntelliJ IDEA 2023.3, Qodana for JVM 2023.3 |
Plugin: | Java, 233.SNAPSHOT |
Last modified: 13 July 2023