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:
FieldDef.FieldDefBuilder
,MethodDef.MethodDefBuilder
,ObjectDefBuilder
,ParameterDef.ParameterDefBuilder
,PropertyDef.PropertyDefBuilder
public sealed class AbstractElementBuilder<ThisType>
extends Object
permits ObjectDefBuilder<ThisType>, FieldDef.FieldDefBuilder, MethodDef.MethodDefBuilder, ParameterDef.ParameterDefBuilder, PropertyDef.PropertyDefBuilder
The abstract element builder.
- Since:
- 1.0
- Author:
- Denis Stepanov
-
Field Summary
Modifier and TypeFieldDescriptionprotected List<AnnotationDef>
protected final String
protected final ThisType
-
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
-
thisInstance
-
-
Constructor Details
-
AbstractElementBuilder
-
-
Method Details
-
addModifiers
-
addAnnotation
-
addAnnotation
-
addAnnotation
-
addAnnotation
-
addJavadoc
-