Module nbbrd.design
Package nbbrd.design

Annotation Type RepresentableAsString


@Target(TYPE) @Retention(SOURCE) public @interface RepresentableAsString
Class that can be represented unambiguously by a String. Such class must have a static factory method that accepts unique CharSequence parameter and that doesn't throw a checked exception.
Author:
Philippe Charles
  • Element Details

    • parseMethodName

      String parseMethodName
      Default:
      "parse"
    • formatMethodName

      String formatMethodName
      Default:
      "toString"