Annotation Interface Json.BuilderInfo

Enclosing class:
Json

@Retention(CLASS) @Target(TYPE) public static @interface Json.BuilderInfo
Provide information about a builder class for object construction.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The builder class to use.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The build method name.
    The method prefix for builder methods.
  • Element Details

    • value

      Class<?> value
      The builder class to use.
      Returns:
      the builder class
    • methodPrefix

      String methodPrefix
      The method prefix for builder methods.
      Returns:
      the method prefix
      Default:
      ""
    • buildMethod

      String buildMethod
      The build method name.
      Returns:
      the build method name
      Default:
      "build"