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 T
addAnnotation(Type type)
Add an annotation of the given typeT
addAnnotation(Type type, String value)
Add an annotation of the given type and with the given valueT
addAnnotation(Type type, Consumer<TypedValueBuilder> builderCallback)
Add an annotation of the given type and with the given values arrayT
addAnnotation(Types.Predefined type)
Add a predefined annotationT
addAnnotation(Types.Predefined type, String value)
Add a predefined annotation with a valueT
addAnnotation(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
-
-