Interface AnnotationConfiguration.Builder
-
- Enclosing interface:
- AnnotationConfiguration
public static interface AnnotationConfiguration.Builder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AnnotationConfiguration.Builder
annotation(String annotationName, AnnotationElement.AnnotationTarget... target)
Create a new annotation with the given name and return its builder to continue configure it.AnnotationAttributeConfiguration.Builder
attribute(String name)
Add a new attribute with the given name to the current annotation and return the builder to continue to configure this attribute.Configuration
build()
AnnotationConfiguration.Builder
metadataCreator(AnnotationMetadataCreator<?,? extends AnnotatedDescriptor> annotationMetadataCreator)
Attach a metadata creator for this annotation and return the same builder.AnnotationConfiguration.Builder
repeatable(String containerAnnotationName)
-
-
-
Method Detail
-
attribute
AnnotationAttributeConfiguration.Builder attribute(String name)
Add a new attribute with the given name to the current annotation and return the builder to continue to configure this attribute.
-
metadataCreator
AnnotationConfiguration.Builder metadataCreator(AnnotationMetadataCreator<?,? extends AnnotatedDescriptor> annotationMetadataCreator)
Attach a metadata creator for this annotation and return the same builder.
-
repeatable
AnnotationConfiguration.Builder repeatable(String containerAnnotationName)
-
annotation
AnnotationConfiguration.Builder annotation(String annotationName, AnnotationElement.AnnotationTarget... target)
Create a new annotation with the given name and return its builder to continue configure it.
-
build
Configuration build()
-
-