Class FieldDef
java.lang.Object
io.micronaut.sourcegen.model.FieldDef
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThe field builder definition. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic FieldDef.FieldDefBuilderCreates a new field builder with a name.static FieldDef.FieldDefBuilderCreates a new field builder with a name and type.static FieldDef.FieldDefBuilderCreates a new field builder with a name and type.final List<AnnotationDef> final Modifier[]final StringgetName()getType()boolean
-
Field Details
-
name
-
modifiers
-
annotations
-
javadoc
-
synthetic
protected final boolean synthetic
-
-
Method Details
-
builder
Creates a new field builder with a name.- Parameters:
name- The filed name- Returns:
- The field builder
- Since:
- 1.5
-
builder
Creates a new field builder with a name and type.- Parameters:
name- The filed nametype- The type- Returns:
- The field builder
- Since:
- 1.5
-
builder
Creates a new field builder with a name and type.- Parameters:
name- The filed nametype- The type- Returns:
- The field builder
- Since:
- 1.5
-
getType
-
getInitializer
-
isSynthetic
public boolean isSynthetic()- Returns:
- Is synthetic element
-
getName
-
getModifiers
-
getModifiersArray
-
getAnnotations
-
getJavadoc
-