Annotation Type Extensions



  • @Target({TYPE,METHOD})
    @Retention(RUNTIME)
    @Documented
    @Inherited
    @API(status=STABLE,
         since="5.0")
    public @interface Extensions
    @Extensions is a container for one or more @ExtendWith declarations.

    Note, however, that use of the @Extensions container is completely optional since @ExtendWith is a repeatable annotation.

    Since:
    5.0
    See Also:
    ExtendWith, Repeatable
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      ExtendWith[] value
      An array of one or more @ExtendWith declarations.