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