Package acdp.design
Annotation Type SimpleType.TypeFromDesc
- Enclosing class:
SimpleType<T>
A class method annotated with the
TypeFromDesc annotation
takes the String representation of a type descriptor and returns
an instance of a subclass of SimpleType.
The method should check if the type descriptor is a valid one and throw
a CreationException if the type descriptor is invalid.
The SimpleType.TypeDesc class can be used for parsing the String
representation of the type descriptor.
The method is not allowed to return null.
- Author:
- Beat Hörmann