Annotation Interface NeverDefault


@Retention(CLASS) @Target({METHOD,FIELD,PARAMETER}) public @interface NeverDefault
Useful to annotate methods, fields or parameters bound by any DSL expression to indicate that it never returns a null or default primitive value. This may in some case be preferential to specifying Cached.neverDefault() for each cache expression. The DSL emits a warnings when the usage of this method is recommended.
Since:
23.0
See Also: