Module io.helidon.common.types
Package io.helidon.common.types
Class DefaultTypedElementName.Builder
java.lang.Object
io.helidon.common.types.DefaultTypedElementName.Builder
- Enclosing class:
DefaultTypedElementName
The fluent builder.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAnnotation(AnnotationAndValue annotation) Adds a singular annotation.addModifierName(String val) Adds a single modifier val.Set the annotations for this element.build()Build the instance.componentTypeNames(List<TypeName> val) Set the component type names.defaultValue(String val) Set the default value.elementKind(String val) Set the element kind.elementName(String val) Set the element name.Set the annotations for this element type.modifierNames(Collection<String> val) Sets the modifiers to val.Set the type name.Set the type of the element.
-
Constructor Details
-
Builder
protected Builder()Default Constructor.
-
-
Method Details
-
typeName
Set the type name.- Parameters:
val- the type name value- Returns:
- this fluent builder
-
typeName
Set the type of the element.- Parameters:
type- the type- Returns:
- the fluent builder
-
componentTypeNames
Set the component type names.- Parameters:
val- the component type values- Returns:
- this fluent builder
-
elementName
Set the element name.- Parameters:
val- the element name value- Returns:
- this fluent builder
-
elementKind
Set the element kind.- Parameters:
val- the element kind value- Returns:
- this fluent builder
-
defaultValue
Set the default value.- Parameters:
val- the default value- Returns:
- this fluent builder
-
annotations
Set the annotations for this element.- Parameters:
val- the annotation values- Returns:
- this fluent builder
-
addAnnotation
Adds a singular annotation.- Parameters:
annotation- the annotation to add- Returns:
- the fluent builder
-
elementTypeAnnotations
Set the annotations for this element type.- Parameters:
val- the element type annotation values- Returns:
- this fluent builder
-
modifierNames
Sets the modifiers to val.- Parameters:
val- the value- Returns:
- this fluent builder
-
addModifierName
Adds a single modifier val.- Parameters:
val- the value- Returns:
- this fluent builder
-
build
Build the instance.- Returns:
- the built instance
-