Annotation Interface Prototype.Extension

Enclosing class:
Prototype

@Target(TYPE) @Retention(CLASS) @Repeatable(Extensions.class) public static @interface Prototype.Extension
Extension definition for a blueprint. Extensions allow modification of the generated code that is outside the scope of the default builder codegen. This can be used, for example, to generate JSON binding annotations.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Type the extension supports, see documentation of appropriate extension.
  • Element Details

    • value

      Class<?> value
      Type the extension supports, see documentation of appropriate extension.
      Returns:
      type the extension supports