Annotation Interface Option.Deprecated

Enclosing class:
Option

@Target(METHOD) @Retention(CLASS) public static @interface Option.Deprecated
Mark an option as deprecated. This will introduce Deprecated annotation on all related methods. Since and if for removal will be taken from the Deprecated annotation on this method. This annotation is an extension to the Java annotation. If not defined, description from javadoc tag deprecated will be used for all setters and getters instead.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Alternative option that replaces this option.
  • Element Details

    • value

      String value
      Alternative option that replaces this option.
      Returns:
      name of the method that should be used instead