Annotation Interface Delete


@Retention(RUNTIME) @Target({TYPE,METHOD,CONSTRUCTOR,FIELD}) public @interface Delete
Mechanism to ensures that an element is not used.

The element can also be annotated with TargetElement to specify additional properties. See TargetClass for an overview of the annotation system.

Since:
22.3
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Documents the reason why the annotated element is deleted.
  • Element Details

    • value

      String value
      Documents the reason why the annotated element is deleted.
      Since:
      22.3
      Default:
      ""