Annotation 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
Modifier and TypeOptional ElementDescriptionClass<? extends Annotation>[]
Define what annotations should be added to the generated builder.
-
Element Details
-
annotatedWith
Class<? extends Annotation>[] annotatedWithDefine what annotations should be added to the generated builder. By default, the builder will haveIntrospected
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}
-