@Target(value={METHOD,CONSTRUCTOR}) @Retention(value=RUNTIME) public @interface Convert
For any given ConverterScope, this annotation can be defined once for any related input / output class pair.
The annotation may be applied to either a static method, a constructor, or an instance method. In the case of the static method or the constructor, the annotated method must have a single parameter (the input class). In the case of a method, the return type must be of the output class. In the case of a constructor, this must be for the bound output class. The instance method takes no parameters, must be applied to the source (input) type and returns the output type. For disambiguation, @From and @To may be used instead
Copyright © 2010–2018 Jadira Systems. All rights reserved.