Annotation Type FromString

    public @interface FromString
    Annotation used to mark a method or constructor as being suitable for converting an object from a String.

    When applying to a method, this annotation should be applied once per class. The method must be static and have one String parameter with a return type of the type that the method is implemented on. For example, Integer.parseInt(String).

    When applying to a constructor, this annotation should be applied to the constructor that takes one String parameter.