Annotation Type NullAndEmptySource


  • @Target({ANNOTATION_TYPE,METHOD,TYPE})
    @Retention(RUNTIME)
    @Documented
    @Inherited
    @API(status=STABLE,
         since="5.7")
    @NullSource
    @EmptySource
    public @interface NullAndEmptySource
    @NullAndEmptySource is a composed annotation that combines the functionality of @NullSource and @EmptySource.

    Annotating a @ParameterizedClass or @ParameterizedTest with @NullAndEmptySource is equivalent to annotating the method with both @NullSource and @EmptySource.

    Inheritance

    This annotation is inherited to subclasses.

    Since:
    5.4
    See Also:
    ParameterizedClass, ParameterizedTest, NullSource, EmptySource