layout: default title: CreateIfNull Annotation parent: title: Annotations url: annotations.html

CreateIfNull Annotation

Sets the CreateIfNull for type conversion.

Usage

The CreateIfNull annotation must be applied at field or method level.

Parameters

Examples

 @CreateIfNull( value = true )
 private List<User> users;