ArgumentConverter
implementations and the corresponding
@ConvertWith annotation.See: Description
| Interface | Description |
|---|---|
| ArgumentConverter |
ArgumentConverter is an abstraction that allows an input object to
be converted to an instance of a different class. |
| StringToObjectConverter |
Internal API for converting arguments of type
String to a specified
target type. |
| Class | Description |
|---|---|
| AnnotationBasedArgumentConverter<A extends java.lang.annotation.Annotation> |
AnnotationBasedArgumentConverter is an abstract base class for
ArgumentConverter implementations that also need to consume an
annotation in order to perform the conversion. |
| DefaultArgumentConverter |
DefaultArgumentConverter is the default implementation of the
ArgumentConverter API. |
| FallbackStringToObjectConverter |
FallbackStringToObjectConverter is a StringToObjectConverter
that provides a fallback conversion strategy for converting from a
String to a given target type by invoking a static factory method
or factory constructor defined in the target type. |
| FallbackStringToObjectConverter.IsFactoryConstructor |
Predicate that determines if the Constructor supplied to
FallbackStringToObjectConverter.IsFactoryConstructor.test(Constructor) is a non-private factory constructor for the
supplied FallbackStringToObjectConverter.IsFactoryConstructor.targetType. |
| FallbackStringToObjectConverter.IsFactoryMethod |
Predicate that determines if the Method supplied to
FallbackStringToObjectConverter.IsFactoryMethod.test(Method) is a non-private static factory method for the
supplied FallbackStringToObjectConverter.IsFactoryMethod.targetType. |
| JavaTimeArgumentConverter | |
| SimpleArgumentConverter |
SimpleArgumentConverter is an abstract base class for
ArgumentConverter implementations that only need to know the target
type and do not need access to the ParameterContext to perform the
conversion. |
| StringToBooleanConverter | |
| StringToCharacterConverter | |
| StringToClassConverter | |
| StringToCommonJavaTypesConverter | |
| StringToEnumConverter | |
| StringToJavaTimeConverter | |
| StringToNumberConverter | |
| TypedArgumentConverter<S,T> |
TypedArgumentConverter is an abstract base class for
ArgumentConverter implementations that always convert objects of a
given source type into a given target type. |
| Exception | Description |
|---|---|
| ArgumentConversionException |
ArgumentConversionException is an exception that can occur when an
object is converted to another object by an implementation of an
ArgumentConverter. |
| Annotation Type | Description |
|---|---|
| ConvertWith |
@ConvertWith is an annotation that allows one to specify an explicit
ArgumentConverter. |
| JavaTimeConversionPattern |
@JavaTimeConversionPattern is an annotation that allows a date/time
conversion pattern to be specified on a parameter of a
@ParameterizedTest method. |
ArgumentConverter
implementations and the corresponding
@ConvertWith annotation.