@Target(value={ANNOTATION_TYPE,PARAMETER,TYPE_USE})
@Retention(value=RUNTIME)
@Documented
@API(status=MAINTAINED,
since="1.4.0")
public @interface Email
me@myhost.com
),
because many - if not most - applications and web forms only accept those.
Applies to parameters of type String that are also annotated with @ForAll
.
ForAll
,
EmailArbitrary
Modifier and Type | Optional Element and Description |
---|---|
boolean |
ipv4Host
Are hosts with ipv4 addresses allowed.
|
boolean |
ipv6Host
Are hosts with ipv6 addresses allowed.
|
boolean |
quotedLocalPart
Are quoted local parts allowed.
|