API must already be removed
Reports declarations marked with @ApiStatus.ScheduledForRemoval that should have been removed in the current version of the declaring library.
- 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
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.
Here you can find the description of settings available for the API must already be removed inspection, and the reference of their default values.
You can suppress this inspection by placing the following comment marker before the code fragment where you no longer want messages from this inspection to appear:
//noinspection MustAlreadyBeRemovedApinote
Actual comment syntax will depend on the code language you are working with
More detailed instructions as well as other ways and options that you have can be found in the product documentation:
Inspection Details | |
|---|---|
By default bundled with: |