UAST
Missing '@Deprecated' annotation on scheduled for removal API
Error
Code Style
New
Last modified: 03 December 2024 Reports declarations marked with @ApiStatus.ScheduledForRemoval
without @Deprecated
.
Example:
@ApiStatus.ScheduledForRemoval(inVersion = "2017.3")
public void myLegacyMethod() { }
After the quick-fix is applied the result looks like:
@Deprecated
@ApiStatus.ScheduledForRemoval(inVersion = "2017.3")
public void myLegacyMethod() { }
- 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.
MissingDeprecatedAnnotationOnScheduledForRemovalApi
Inspection Details | |
---|---|
By default bundled with: | |
Can be installed with plugin: | Java, 243.23126 |
Thanks for your feedback!
Was this page helpful?