Inspectopedia Help

API must already be removed

Reports declarations marked with @ApiStatus.ScheduledForRemoval that should have been removed in the current version of the declaring library.

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.

MustAlreadyBeRemovedApi
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.

Settings or Preferences | Editor | Inspections | JVM languages

It compares the specified scheduled removal version with the version that you can set below.

Specify the version as a string separated with dots and optionally postfixed with alpha, beta, snapshot, or eap.

Examples of valid versions: 1.0, 2.3.1, 2018.1, 7.5-snapshot, 3.0-eap.

Version comparison is intuitive: 1.0 < 2.0, 1.0-eap < 1.0, 2.3-snapshot < 2.3 and so on. For detailed comparison logic, refer to the implementation of VersionComparatorUtil.

Inspection options

Here you can find the description of settings available for the API must already be removed inspection, and the reference of their default values.

Current version

Empty

Inspection Details

By default bundled with:

IntelliJ IDEA 2024.2, Qodana for JVM 2024.2,

Can be installed with plugin:

Java, 242.22892

Last modified: 11 September 2024