Recommend using a javadoc for this:
```java
/**
 * @deprecated  Replaced by {@link #setUser()}
 */
```