Inspectopedia
 
2024.3

Usage of API marked for removal

Error
New
Last modified: 03 December 2024

Reports usages of deprecated APIs (classes, fields, and methods) that are marked for removal with @Deprecated(forRemoval=true).

The code that uses an API marked for removal may cause a runtime error with a future version of the API. That is why the recommended severity for this inspection is Error.

You can change the severity to Warning if you want to use the same code highlighting as in ordinary deprecation.

New in 2017.3