public @interface Factory
Annotation that identifies how to create a type from a string.
This can be specified with either a static method that converts a
string to an instance of the class, or else a TypeFactory class that
performs this operation. Only one value should be specified. When
applied to a class, applies to the class itself; when applied to a
method, applies to the method's parameter.