CreateIfNull Annotation
Sets the CreateIfNull for type conversion.
Usage
The CreateIfNull annotation must be applied at field or method level.
Parameters
Parameter | Required | Default | Description |
---|---|---|---|
value | no | false | The CreateIfNull property value. |
Examples
@CreateIfNull( value = true )
private List<User> users;