Annotation Interface Deprecated


@Target({FIELD,PARAMETER,METHOD}) @Description("Marks the field, argument, input field or enum value as deprecated") @Retention(RUNTIME) public @interface Deprecated
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
  • Element Details

    • reason

      @Description("The reason for the deprecation") String reason
      Default:
      ""