Package io.micronaut.core.annotation
Annotation Interface Introspected.IntrospectionBuilder
- Enclosing class:
- Introspected
Configuration for an introspection builder.
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionClass<?>
The class that is the builder for this type.The name of the method that is the builder for this type.The name of the method that builds the instance.
-
Element Details
-
builderClass
Class<?> builderClassThe class that is the builder for this type.Should be accessible. Mutually exclusive with
builderMethod()
- Returns:
- The builder class
- Default:
- void.class
-
builderMethod
String builderMethodThe name of the method that is the builder for this type.Should be accessible. Mutually exclusive with
builderClass()
()}- Returns:
- The builder method.
- Default:
- ""
-
creatorMethod
String creatorMethodThe name of the method that builds the instance.- Returns:
- The method name.
- Default:
- "build"
-
accessorStyle
AccessorsStyle accessorStyle- Returns:
- The accessor style for the write methods of the builder.
- Default:
- @io.micronaut.core.annotation.AccessorsStyle(writePrefixes={""})
-