Package io.micronaut.sourcegen.model
Class RecordDef.RecordDefBuilder
java.lang.Object
io.micronaut.sourcegen.model.AbstractElementBuilder<ThisType>
io.micronaut.sourcegen.model.ObjectDefBuilder<RecordDef.RecordDefBuilder>
io.micronaut.sourcegen.model.RecordDef.RecordDefBuilder
- Enclosing class:
- RecordDef
public static final class RecordDef.RecordDefBuilder
extends ObjectDefBuilder<RecordDef.RecordDefBuilder>
The record definition builder.
- Since:
- 1.0
- Author:
- Denis Stepanov
-
Field Summary
Fields inherited from class io.micronaut.sourcegen.model.ObjectDefBuilder
methods, superinterfaces
Fields inherited from class io.micronaut.sourcegen.model.AbstractElementBuilder
annotations, javadoc, modifiers, name, thisInstance
-
Method Summary
Modifier and TypeMethodDescriptionaddProperty
(PropertyDef property) addTypeVariable
(TypeDef.TypeVariable typeVariable) build()
Methods inherited from class io.micronaut.sourcegen.model.ObjectDefBuilder
addMethod, addSuperinterface
Methods inherited from class io.micronaut.sourcegen.model.AbstractElementBuilder
addAnnotation, addAnnotation, addAnnotation, addAnnotation, addJavadoc, addModifiers
-
Method Details
-
addProperty
-
addTypeVariable
-
build
-