Annotation Interface MarkedForRemoval


@Retention(SOURCE) public @interface MarkedForRemoval
Marks the annotated element as being subject to removal in the future.

The annotated element should also be annotated with Deprecated.

It is recommended to provide when the annotated element will be removed, using the version element.

  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    When the annotated element is expected to be removed.
  • Element Details

    • version

      String version
      When the annotated element is expected to be removed.

      For example, this could be after "2.6.4", "starting from 2.7" or simply "2.7".

      Default:
      ""