Annotation Type WebDomain


  • @Target({ANNOTATION_TYPE,PARAMETER,TYPE_USE})
    @Retention(RUNTIME)
    @Documented
    @API(status=EXPERIMENTAL,
         since="1.5.5")
    public @interface WebDomain
    Constrain generated strings to be valid web domain names (e.g. myhost.com).

    Applies to parameters of type String that are also annotated with @ForAll.

    See Also:
    ForAll