Annotation Interface SuperBuilder


@Documented @Retention(RUNTIME) @Target({ANNOTATION_TYPE,TYPE}) public @interface SuperBuilder
The builder annotation on a bean should create a builder with a support of inheritance. The super type should be also annotated with @SuperBuilder.
Since:
1.0
Author:
Denis Stepanov
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Class<? extends Annotation>[]
    Define what annotations should be added to the generated builder.
  • Element Details

    • annotatedWith

      Class<? extends Annotation>[] annotatedWith
      Define what annotations should be added to the generated builder. By default, the builder will have Introspected annotation so that introspection can be created for it.
      Returns:
      Array of annotations to apply on the builder
      Default:
      {io.micronaut.core.annotation.Introspected.class}