@Deprecated is an annotation interpreted at compile time to indicate that the method/class is deprecated. This will generate warnings and markups in the IDE when you use a deprecated feature.
@deprecated is a javadoc tag, to document some detail about the depreciation of the method/class. Usually this documentation explains why the depreciation and what to use as a replacement. It only makes sense to use this documentation if you actually have the element being documented marked as @Deprecated
For example:
/**
* Método que faz alguma coisa
* @deprecated Esse método possui uma falha muito grave e não deve ser utilizado, agora deve-se utilizar {@link #metodoFazAlgoMelhorado()}.
*/
@Deprecated
public void metodoFazAlgo() {
// ...
}
public void metodoFazAlgoMelhorado() {
// ...
}
maybe I can help guide on deprecation
– Gustavo André Richter