Back to Intellij Community

RedundantScheduledForRemovalAnnotation

java/java-impl/resources/inspectionDescriptions/RedundantScheduledForRemovalAnnotation.html

2025.3-rc-2254 B
Original Source

Reports usages of @ApiStatus.ScheduledForRemoval annotation without inVersion attribute in code which targets Java 9 or newer version.

Such usages can be replaced by forRemoval attribute in @Deprecated annotation to simplify code.

New in 2022.1