@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.
ExtendWith
,
Repeatable
Modifier and Type | Required Element | Description |
---|---|---|
ExtendWith[] |
value |
An array of one or more
@ExtendWith declarations. |
ExtendWith[] value
@ExtendWith
declarations.