@Retention(value=RUNTIME) @Target(value={TYPE,ANNOTATION_TYPE}) @Repeatable(value=PostConvert.List.class) @Documented public @interface PostConvert
PostConverter
to be used when converting.Modifier and Type | Fields and Description |
---|---|
static String |
DEFAULT_NAME
Default value for
value() indicating that converterClass() should be set. |
Modifier and Type | Optional Element and Description |
---|---|
Class |
converterClass
Class to use for postconvert.
|
String |
value
Name for the type converter, this is either name (when it implements
Named or the
Fully qualified class name. |
public static final String DEFAULT_NAME
value()
indicating that converterClass()
should be set.public abstract String value
Named
or the
Fully qualified class name.
Using this allows you to avoid a compile dependency on the class name but makes the connection more brittle
when refactoring. The value is ignored if converterClass()
is set.
Copyright © 2022. All rights reserved.