@Retention(value=RUNTIME) @Target(value=METHOD) public @interface TransformResult
TransformWith
annotation.
This annotation should be placed on the method with the least specific return type, if covariant return types are used.
The return type of the annotation, or a superclass/superinterface of it,
must have a method annotated with TransformWith
, with a matching
value()
.
Modifier and Type | Optional Element and Description |
---|---|
String |
value
Gets the name used to match this annotation to a
TransformWith
annotation. |
public abstract String value
TransformWith
annotation.
Changing this is only necessary when multiple TransformWith
annotations are present in the annotated method's return type's class.