Package io.micronaut.sourcegen.model
Class EnumDef.EnumDefBuilder
java.lang.Object
io.micronaut.sourcegen.model.AbstractElementBuilder<EnumDef.EnumDefBuilder>
io.micronaut.sourcegen.model.EnumDef.EnumDefBuilder
- Enclosing class:
- EnumDef
public static final class EnumDef.EnumDefBuilder
extends AbstractElementBuilder<EnumDef.EnumDefBuilder>
The enum 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 TypeMethodDescriptionaddEnumConstant
(String name) addSuperinterface
(TypeDef superinterface) build()
Methods inherited from class io.micronaut.sourcegen.model.AbstractElementBuilder
addAnnotation, addAnnotation, addAnnotation, addAnnotation, addJavadoc, addModifiers
-
Method Details
-
addMethod
-
addEnumConstant
-
addSuperinterface
-
build
-