Annotation Type EnableConverter
-
@Documented @Target({ANNOTATION_TYPE,TYPE}) @Retention(RUNTIME) @ConverterSource(de.rwth.swc.coffee4j.junit.engine.annotation.configuration.converter.ConstructorBasedConverterProvider.class) public @interface EnableConverter
This is aConverterSource
using theConstructorBasedConverterProvider
to create new instances of aArgumentConverter
via a no-args constructor. Since multiple converters are allowed, just return multiple classes in thevalue()
method to register more converters, or use any otherConverterSource
sinceConverterSource
is a repeatable annotation.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description Class<? extends ArgumentConverter>[]
value
Gets the class of theArgumentConverter
-
-
-
Element Detail
-
value
Class<? extends ArgumentConverter>[] value
Gets the class of theArgumentConverter
- Returns:
- the class of a
ArgumentConverter
which has a no-args constructor
-
-