@Retention(value=CLASS)
public @interface ReplaceWith
Deprecated annotations, to denote
the intended replacement of a method, field, or class.
This annotation does not currently enforce a contract for the format of this annotation's value. However, Javadoc rules should apply:
java.lang.String // Class
java.lang.String#toString // Method without param bound, or field.
java.lang.String#substring(int, int) // Method with class and param bound.
#substring(int, int) // Method with only a param bound. Assumes the current class.
#substring // Method without a param bound. Assumes the current class.
Created by covers1624 on 5/9/21.
| Modifier and Type | Required Element and Description |
|---|---|
java.lang.String |
value |