All Downloads are FREE. Search and download functionalities are using the official Maven repository.

rules.MissingDeprecated.md Maven / Gradle / Ivy


Both the `@Deprecated` annotation and the Javadoc tag `@deprecated` must be used in pairs.

Valid:
````
/**
  * Foo.
  *
  * @deprecated
  */
@Deprecated
void foo() {}
````

Invalid:
````
/**
  * Foo.
  */
@Deprecated
void foo() {}

/**
  * Bar.
  *
  * @deprecated
  */
void bar() {}
````




© 2015 - 2024 Weber Informatics LLC | Privacy Policy