Annotation Interface TransformWith
Used to indicate a method that will be called from the method with the
corresponding
TransformResult
annotation.
This annotation should be placed on the method with the least specific return type, if covariant return types are used.
The method annotated with this annotation must either return an instance of the method's class, or Object (for compatibility with generics).
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionGets the name used to match this annotation to aTransformResult
annotation.
-
Element Details
-
value
String valueGets the name used to match this annotation to aTransformResult
annotation.Changing this is only necessary when this annotation is present on multiple methods in a class, or its superinterfaces/superclass.
- Returns:
- The name to use
- Default:
- ""
-