@groovy.transform.Trait @groovy.transform.CompileStatic trait Nullable<T> extends java.lang.Object
Decorates a class with a nullable property and builder method
T
- The class the trait is applied toType | Name and description |
---|---|
boolean |
nullable |
Type Params | Return Type | Name and description |
---|---|---|
|
T |
nullable(boolean nullable) |
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() |