Package io.micronaut.sourcegen.model
Class ObjectDefBuilder<ThisType>
java.lang.Object
io.micronaut.sourcegen.model.AbstractElementBuilder<ThisType>
io.micronaut.sourcegen.model.ObjectDefBuilder<ThisType>
- Type Parameters:
ThisType
- The type of this builder
- Direct Known Subclasses:
ClassDef.ClassDefBuilder
,EnumDef.EnumDefBuilder
,InterfaceDef.InterfaceDefBuilder
,RecordDef.RecordDefBuilder
public sealed class ObjectDefBuilder<ThisType>
extends AbstractElementBuilder<ThisType>
permits ClassDef.ClassDefBuilder, InterfaceDef.InterfaceDefBuilder, RecordDef.RecordDefBuilder, EnumDef.EnumDefBuilder
The abstract builder that is used for specific types: interfaces, classes, records or enums.
- Since:
- 1.3
- Author:
- Andriy Dmytruk
-
Field Summary
Modifier and TypeFieldDescriptionFields inherited from class io.micronaut.sourcegen.model.AbstractElementBuilder
annotations, javadoc, modifiers, name, thisInstance
-
Constructor Summary
-
Method Summary
Methods inherited from class io.micronaut.sourcegen.model.AbstractElementBuilder
addAnnotation, addAnnotation, addAnnotation, addAnnotation, addJavadoc, addModifiers
-
Field Details
-
methods
-
superinterfaces
-
-
Constructor Details
-
ObjectDefBuilder
-
-
Method Details
-
addMethod
-
addSuperinterface
-