Annotation Interface DeprecationDefinition
Indicates that the
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionboolean
Flag to indicate explicit deprecation.Indicates that the module is deprecated.
-
Element Details
-
value
String valueIndicates that the module is deprecated. Supplying a value will be relayed as the deprecation reason to the code which uses the deprecated module. The warning should appear in logs when attempting to use the module.- Returns:
- the deprecation message
- Default:
"<deprecated>"
-
deprecated
boolean deprecatedFlag to indicate explicit deprecation. It should rarely be necessary to explicitly set this flag.- Returns:
- true if deprecated, false otherwise
- Default:
true
-