TYPE_USE The notorious {{List<@Email @NotNull String> emails;}} should be become reality now .
But there are some other possibilities, too:
{code} Optional<@Email String> optionalEmail; {code}
{code} public class Emails implements Iterable<@NotNull @Email String> { // ... } {code}
|