Package io.micronaut.sourcegen.model
Class AnnotationObjectDef.AnnotationMemberDef
java.lang.Object
io.micronaut.sourcegen.model.AnnotationObjectDef.AnnotationMemberDef
- Enclosing class:
- AnnotationObjectDef
A definition for annotation member (i.e. property).
- Since:
- 1.7
- Author:
- Andriy Dmytruk
-
Field Details
-
name
-
modifiers
-
annotations
-
javadoc
-
synthetic
protected final boolean synthetic
-
-
Method Details
-
builder
public static AnnotationObjectDef.AnnotationMemberDefBuilder builder(String memberName, TypeDef type) Create a builder.- Parameters:
memberName
- The name of the membertype
- The member type- Returns:
- The builder
-
getType
Get the type of the member.- Returns:
- the type
-
getDefaultValue
Get the default value of the member.- Returns:
- the default value
-
isSynthetic
public boolean isSynthetic()- Returns:
- Is synthetic element
-
getName
-
getModifiers
-
getModifiersArray
-
getAnnotations
-
getJavadoc
-