Package io.helidon.builder.processor.spi
Class DefaultTypeInfo.Builder
java.lang.Object
io.helidon.builder.processor.spi.DefaultTypeInfo.Builder
- All Implemented Interfaces:
Builder<DefaultTypeInfo.Builder,,DefaultTypeInfo> Supplier<DefaultTypeInfo>
- Enclosing class:
DefaultTypeInfo
public static class DefaultTypeInfo.Builder
extends Object
implements Builder<DefaultTypeInfo.Builder,DefaultTypeInfo>
Builder for this type.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdds a single annotation val.Adds a single elementInfo val.Adds a single otherElementInfo val.Sets the annotations to val.build()Builds the instance.Sets the elementInfo to val.Sets the otherElementInfo to val.superTypeInfo(TypeInfo val) Sets the superTypeInfo to val.Sets the typeKind to val.Sets the typeName to val.
-
Constructor Details
-
Builder
protected Builder()Default constructor.
-
-
Method Details
-
build
Builds the instance.- Specified by:
buildin interfaceBuilder<DefaultTypeInfo.Builder,DefaultTypeInfo> - Returns:
- the built instance
-
typeName
Sets the typeName to val.- Parameters:
val- the value- Returns:
- this fluent builder
-
typeKind
Sets the typeKind to val.- Parameters:
val- the value- Returns:
- this fluent builder
-
annotations
Sets the annotations to val.- Parameters:
val- the value- Returns:
- this fluent builder
-
addAnnotation
Adds a single annotation val.- Parameters:
val- the value- Returns:
- this fluent builder
-
elementInfo
Sets the elementInfo to val.- Parameters:
val- the value- Returns:
- this fluent builder
-
addElementInfo
Adds a single elementInfo val.- Parameters:
val- the value- Returns:
- this fluent builder
-
otherElementInfo
Sets the otherElementInfo to val.- Parameters:
val- the value- Returns:
- this fluent builder
-
addOtherElementInfo
Adds a single otherElementInfo val.- Parameters:
val- the value- Returns:
- this fluent builder
-
superTypeInfo
Sets the superTypeInfo to val.- Parameters:
val- the value- Returns:
- this fluent builder
-