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.
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.
RedundantMethodOverride- 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.
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
Here you can find the description of settings available for the Method is identical to its super method inspection, and the reference of their default values.
- Check methods overriding library methods
Default: Selected
- Ignore delegates to super methods
Default: Selected
Inspection Details | |
---|---|
By default bundled with: | |
Can be installed with plugin: | Java, 242.22892 |