Inspectopedia
 
2024.3

Redundant diagnostic suppression

Warning
New
Last modified: 03 December 2024

Reports usages of @Suppress annotations that can be safely removed because the compiler diagnostic they affect is no longer applicable in this context.

Example:

After the quick-fix is applied: