Interface AnnotatedElementBuilder<T extends AnnotatedElementBuilder<?>>
-
- All Known Subinterfaces:
TypedFieldBuilder,TypeStructureBuilder
public interface AnnotatedElementBuilder<T extends AnnotatedElementBuilder<?>>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TaddAnnotation(Type type)Add an annotation of the given typeTaddAnnotation(Type type, String value)Add an annotation of the given type and with the given valueTaddAnnotation(Type type, Consumer<TypedValueBuilder> builderCallback)Add an annotation of the given type and with the given values arrayTaddAnnotation(Types.Predefined type)Add a predefined annotationTaddAnnotation(Types.Predefined type, String value)Add a predefined annotation with a valueTaddAnnotation(Types.Predefined type, Consumer<TypedValueBuilder> builderCallback)Add an annotation of the given type and with the given values array
-
-
-
Method Detail
-
addAnnotation
T addAnnotation(Type type)
Add an annotation of the given type- Parameters:
type- the annotation type- Returns:
- a AnnotatedElementBuilder instance for invocation chaining
-
addAnnotation
T addAnnotation(Type type, String value)
Add an annotation of the given type and with the given value- Parameters:
type- the annotation typevalue- the annotation value- Returns:
- a AnnotatedElementBuilder instance for invocation chaining
-
addAnnotation
T addAnnotation(Types.Predefined type)
Add a predefined annotation- Parameters:
type- predefined annotation type- Returns:
- a AnnotatedElementBuilder instance for invocation chaining
-
addAnnotation
T addAnnotation(Types.Predefined type, String value)
Add a predefined annotation with a value- Parameters:
type- predefined annotation typevalue- annotation value- Returns:
- a AnnotatedElementBuilder instance for invocation chaining
-
addAnnotation
T addAnnotation(Type type, Consumer<TypedValueBuilder> builderCallback)
Add an annotation of the given type and with the given values array- Parameters:
type- the annotation typebuilderCallback- the annotation attributes builder callback- Returns:
- a AnnotatedElementBuilder instance for invocation chaining
-
addAnnotation
T addAnnotation(Types.Predefined type, Consumer<TypedValueBuilder> builderCallback)
Add an annotation of the given type and with the given values array- Parameters:
type- the annotation typebuilderCallback- the annotation attributes builder callback- Returns:
- a AnnotatedElementBuilder instance for invocation chaining
-
-