@Unwrapped(onEmpty=USE_EMPTY) @Documented @Retention(value=RUNTIME) @Target(value={FIELD,METHOD}) @Nonnull(when=NEVER) public static @interface Unwrapped.Empty
@Unwrapped.Empty private Address address;as alternative to the more verbose
@Unwrapped(onEmpty = USE_EMPTY) @javax.annotation.Nonnull(when = When.NEVER) private Address address;
Unwrapped.onEmpty()
@AliasFor(annotation=Unwrapped.class, attribute="prefix") public abstract String prefix
String
by default.@AliasFor(annotation=Unwrapped.class, attribute="prefix") public abstract String value
String
by default.Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.