Uses of Class
io.spring.initializr.generator.language.Annotation.Builder
Packages that use Annotation.Builder
Package
Description
Language abstraction.
Kotlin language.
-
Uses of Annotation.Builder in io.spring.initializr.generator.language
Methods in io.spring.initializr.generator.language that return Annotation.BuilderModifier and TypeMethodDescriptionAdd the specified values to the attribute with the specified name.Annotation.Builder.from
(Annotation annotation) Reset the state of the builder to the state of the specified annotation.static Annotation.Builder
Initialize an annotationAnnotation.Builder
for the specified class name.Set the attribute with the specified name with the specified values.Method parameters in io.spring.initializr.generator.language with type arguments of type Annotation.BuilderModifier and TypeMethodDescriptionvoid
AnnotationContainer.add
(ClassName className, Consumer<Annotation.Builder> annotation) Add a singleAnnotation
with the specified class name andConsumer
to customize it.Parameter.Builder.annotate
(ClassName className, Consumer<Annotation.Builder> annotation) Annotate the parameter with the specified annotation, customized by the specified consumer. -
Uses of Annotation.Builder in io.spring.initializr.generator.language.kotlin
Method parameters in io.spring.initializr.generator.language.kotlin with type arguments of type Annotation.BuilderModifier and TypeMethodDescriptionKotlinPropertyDeclaration.AccessorBuilder.withAnnotation
(ClassName className, Consumer<Annotation.Builder> annotation)