java.lang.Object
io.helidon.codegen.classmodel.Annotation
Model of the annotation.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionAccess modifier of this component.static Annotation.Builder
builder()
NewAnnotation.Builder
instance.static Annotation
create
(Annotation annotation) Create a class model annotation from common types annotation.static Annotation
NewAnnotation
instance based on the type.Description (javadoc) of this component.name()
Name of this component.static Annotation
Parse new Annotation object out of the String.Convert class model annotation to Helidon Common Types annotation.typeName()
Type name of this component.
-
Method Details
-
builder
NewAnnotation.Builder
instance.- Returns:
- new builder instance
-
create
NewAnnotation
instance based on the type.- Parameters:
type
- class type- Returns:
- new annotation instance
-
parse
Parse new Annotation object out of the String.- Parameters:
annotationDefinition
- annotation definition- Returns:
- new annotation instance
-
create
Create a class model annotation from common types annotation.- Parameters:
annotation
- annotation to process- Returns:
- a new class model annotation
-
toTypesAnnotation
Convert class model annotation to Helidon Common Types annotation.- Returns:
- common types annotation
-
name
Name of this component.- Returns:
- component name
-
accessModifier
Access modifier of this component.- Returns:
- access modifier
-
description
Description (javadoc) of this component.- Returns:
- description lines
-
typeName
Type name of this component.- Returns:
- type name
-