Annotation Interface FromString


@Documented @Retention(RUNTIME) @Target(METHOD) public @interface FromString
Marker to advise that a method on a sealed interface base can be used to parse the base as a string.

Methods must:

  • be public
  • be static
  • return an instance of the interface defining the method
  • take a single String as a parameter.
Since:
5.1.0
Author:
Ashley Scopes
See Also: