Annotation Interface Unwrapped.Empty
- Enclosing class:
- Unwrapped
@Unwrapped(onEmpty=USE_EMPTY)
@Documented
@Retention(RUNTIME)
@Target({FIELD,METHOD})
@Nonnull(when=NEVER)
public static @interface Unwrapped.Empty
Shortcut for an empty unwrapped property.
@Unwrapped.Empty private Address address;as alternative to the more verbose
@Unwrapped(onEmpty = USE_EMPTY) @javax.annotation.Nonnull(when = When.NEVER) private Address address;
- Author:
- Christoph Strobl
- See Also:
-
Optional Element Summary
Optional Elements