Annotation Interface MarkedForRemoval


@Documented public @interface MarkedForRemoval
Marks a field, method, or constructor as slated for removal in a future release.

This annotation serves as a warning to developers that the annotated element is deprecated and will be removed in upcoming versions of the codebase.

  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Optional description providing context about the removal.
  • Element Details

    • value

      String value
      Optional description providing context about the removal.

      This can include reasons for the removal, suggested alternatives, or the version in which the removal is planned.

      Returns:
      a string description (default is an empty string)
      Default:
      ""