All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.jqwik.api.constraints.NotBlank Maven / Gradle / Ivy

The newest version!
package net.jqwik.api.constraints;

import java.lang.annotation.*;

import org.apiguardian.api.*;

import static org.apiguardian.api.API.Status.*;

/**
 * Constrain a string to never be blank, i.e. not empty and not just whitespace.
 *
 * Applies to String parameters which are also annotated with {@code @ForAll}.
 *
 * @see net.jqwik.api.ForAll
 * @see NotEmpty
 */
@Target({ ElementType.ANNOTATION_TYPE, ElementType.PARAMETER, ElementType.TYPE_USE })
@Retention(RetentionPolicy.RUNTIME)
@Documented
@API(status = MAINTAINED, since = "1.5.0")
public @interface NotBlank {
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy