@groovy.transform.Trait @groovy.transform.CompileStatic trait Deprecatable<T> extends java.lang.Object
Decorates a class with a builder syntax to provide deprecation data.
T
- 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() |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |