Inspectopedia Help

Usage of API marked for removal

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

Inspection options

Option

Type

Default

Ignore in the same outermost class

Checkbox

true

Inspection Details

Available in:

IntelliJ IDEA 2023.3, Qodana for JVM 2023.3

Plugin:

Java, 233.SNAPSHOT

Last modified: 13 July 2023