Class AnnotationParameter.Builder
java.lang.Object
io.helidon.codegen.classmodel.AnnotationParameter.Builder
- All Implemented Interfaces:
Builder<AnnotationParameter.Builder, AnnotationParameter>, Supplier<AnnotationParameter>
- Enclosing class:
AnnotationParameter
Fluent API builder for
AnnotationParameter.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Build the instance from this builder.includeImport(boolean includeImport) Whether to include import type information among the imports.Set annotation parameter value.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Builder
get, identity, updateModifier and TypeMethodDescriptiondefault AnnotationParameterget()default AnnotationParameter.Builderidentity()Instance of this builder as the correct type.default AnnotationParameter.Builderupdate(Consumer<AnnotationParameter.Builder> consumer) Update the builder in a fluent API way.
-
Method Details
-
build
Description copied from interface:BuilderBuild the instance from this builder.- Returns:
- instance of the built type
-
name
-
value
Set annotation parameter value.- Parameters:
value- annotation parameter value- Returns:
- updated builder instance
-
type
-
type
-
type
-
includeImport
Whether to include import type information among the imports.- Parameters:
includeImport- whether imports should be included- Returns:
- updated builder instance
-