Decorates a class with a builder syntax to provide deprecation data.
- The implementing classType | Name and description |
---|---|
boolean |
deprecated |
java.lang.String |
deprecationReason |
Type Params | Return Type | Name and description |
---|---|---|
|
T |
deprecated(boolean deprecated) |
|
T |
deprecationReason(java.lang.String deprecationReason) |
|
java.lang.String |
getDeprecationReason() |