Package io.helidon.codegen.classmodel
Class TypeArgument.Builder
java.lang.Object
io.helidon.codegen.classmodel.TypeArgument.Builder
- All Implemented Interfaces:
Builder<TypeArgument.Builder,
,TypeArgument> Supplier<TypeArgument>
- Enclosing class:
TypeArgument
Fluent API builder for
TypeArgument
.-
Method Summary
Modifier and TypeMethodDescriptionType this argument is bound to.Type this argument is bound to.Type this argument is bound to.build()
Build the instance from this builder.description
(String description) Set description of the component.description
(List<String> description) Set description of the component.includeImport
(boolean includeImport) Whether to include import type information among the imports.Token name of this argument.
-
Method Details
-
token
Token name of this argument.- Parameters:
token
- token name- Returns:
- updated builder instance
-
bound
Type this argument is bound to.- Parameters:
bound
- argument bound- Returns:
- updated builder instance
-
bound
Type this argument is bound to.- Parameters:
bound
- argument bound- Returns:
- updated builder instance
-
bound
Type this argument is bound to.- Parameters:
bound
- argument bound- Returns:
- updated builder instance
-
description
Set description of the component. It overwrites previously set description.- Parameters:
description
- component description- Returns:
- updated builder instance
-
description
Set description of the component. It overwrites previously set description.- Parameters:
description
- component description- Returns:
- updated builder instance
-
build
Description copied from interface:Builder
Build the instance from this builder.- Returns:
- instance of the built type
-
includeImport
Whether to include import type information among the imports.- Parameters:
includeImport
- whether imports should be included- Returns:
- updated builder instance
-