Package io.helidon.codegen.classmodel
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.constantValue(AnnotationProperty.ConstantValue constantValue) Configure a constant value, to generate a reference to a constant, rather then explicit value.includeImport(boolean includeImport) Whether to include import type information among the imports.Set annotation parameter value.
-
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
-
constantValue
Configure a constant value, to generate a reference to a constant, rather then explicit value.- Parameters:
constantValue- type and constant name- Returns:
- updated builder
-
includeImport
Whether to include import type information among the imports.- Parameters:
includeImport- whether imports should be included- Returns:
- updated builder instance
-