net.jqwik.api.Provide Maven / Gradle / Ivy
package net.jqwik.api;
import java.lang.annotation.*;
import org.apiguardian.api.*;
import static org.apiguardian.api.API.Status.*;
/**
* Used to annotate methods that can provide values for property method parameters. Those methods must return an
* instance of {@linkplain Arbitrary}.
*
* {@code value} is used as reference name. If it is not specified, the method's name is used instead.
*/
@Target({ ElementType.ANNOTATION_TYPE, ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
@Documented
@API(status = STABLE, since = "1.0")
public @interface Provide {
String value() default "";
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy