Interface AnnotationElementBuilder
-
public interface AnnotationElementBuilderBuilder for Annotation instances
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AnnotationElementBuilderaddArgument(String name, Consumer<TypedValueBuilder> builderCallback)Add annotation argumentAnnotationElementBuilderaddArgument(String name, TypedValue value)Add annotation argumentAnnotationbuild()Build a new Annotation instance
-
-
-
Method Detail
-
addArgument
AnnotationElementBuilder addArgument(String name, TypedValue value)
Add annotation argument- Parameters:
name- the argument namevalue- the argument value- Returns:
- this instance for chaining
-
addArgument
AnnotationElementBuilder addArgument(String name, Consumer<TypedValueBuilder> builderCallback)
Add annotation argument- Parameters:
name- the argument namebuilderCallback- the argument value customization callback- Returns:
- this instance for chaining
-
build
Annotation build()
Build a new Annotation instance- Returns:
- Annotation instance
-
-