@Retention(value=RUNTIME)
@Target(value={java.lang.annotation.ElementType.METHOD, java.lang.annotation.ElementType.PARAMETER})
public @interface Types
Inferface that defines the Types annotation. Used to specify alternative
types and types contained in collections for web method return types and
parameter types.
The annotation content is a comma separated list of fully qualified class
names of alternative types for a return type or parameter. The alternative
types must extend the initial type. If the return type or parameter is a
Collection out of java.util.*, this specifies the allowed contained types.