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
FieldsModifier and TypeFieldDescriptionprotected List<AnnotationDef>protected final Stringprotected final ThisType - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionfinal ThisTypeaddAnnotation(AnnotationDef annotationDef) final ThisTypeaddAnnotation(ClassTypeDef typeDef) final ThisTypeaddAnnotation(Class<? extends Annotation> annotationType) final ThisTypeaddAnnotation(String annotationName) final ThisTypeaddJavadoc(String doc) final ThisTypeaddModifiers(Modifier... modifiers)  
- 
Field Details
- 
name
 - 
modifiers
 - 
annotations
 - 
javadoc
 - 
thisInstance
 
 - 
 - 
Constructor Details
- 
AbstractElementBuilder
 
 - 
 - 
Method Details
- 
addModifiers
 - 
addAnnotation
 - 
addAnnotation
 - 
addAnnotation
 - 
addAnnotation
 - 
addJavadoc
 
 -