Package io.micronaut.sourcegen.model
Class AbstractElementBuilder<ThisType>
java.lang.Object
io.micronaut.sourcegen.model.AbstractElementBuilder<ThisType>
- Type Parameters:
ThisType
- The type of this builder
- Direct Known Subclasses:
ClassDef.ClassDefBuilder
,EnumDef.EnumDefBuilder
,FieldDef.FieldDefBuilder
,InterfaceDef.InterfaceDefBuilder
,MethodDef.MethodDefBuilder
,ParameterDef.ParameterDefBuilder
,PropertyDef.PropertyDefBuilder
,RecordDef.RecordDefBuilder
public sealed class AbstractElementBuilder<ThisType>
extends Object
permits ClassDef.ClassDefBuilder, EnumDef.EnumDefBuilder, FieldDef.FieldDefBuilder, InterfaceDef.InterfaceDefBuilder, MethodDef.MethodDefBuilder, ParameterDef.ParameterDefBuilder, PropertyDef.PropertyDefBuilder, RecordDef.RecordDefBuilder
The abstract element builder.
- Since:
- 1.0
- Author:
- Denis Stepanov
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal ThisType
addAnnotation
(AnnotationDef annotationDef) final ThisType
addAnnotation
(ClassTypeDef typeDef) final ThisType
addAnnotation
(Class<? extends Annotation> annotationType) final ThisType
addAnnotation
(String annotationName) final ThisType
addJavadoc
(String doc) final ThisType
addModifiers
(Modifier... modifiers)
-
Field Details
-
name
-
modifiers
-
annotations
-
javadoc
-
-
Constructor Details
-
AbstractElementBuilder
-
-
Method Details
-
addModifiers
-
addAnnotation
-
addAnnotation
-
addAnnotation
-
addAnnotation
-
addJavadoc
-