Interface AnnotationConfiguration.Builder
- Enclosing interface:
- AnnotationConfiguration
public static interface AnnotationConfiguration.Builder
-
Method Summary
Modifier and TypeMethodDescriptionannotation
(String annotationName, AnnotationElement.AnnotationTarget... target) Create a new annotation with the given name and return its builder to continue configuring it.Add a new attribute with the given name to the current annotation and return the builder to continue to configure this attribute.build()
metadataCreator
(AnnotationMetadataCreator<?, ? extends AnnotatedDescriptor> annotationMetadataCreator) Attach a metadata creator for this annotation and return the same builder.packageName
(String packageName) repeatable
(String containerAnnotationName)
-
Method Details
-
attribute
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
-
packageName
-
annotation
AnnotationConfiguration.Builder annotation(String annotationName, AnnotationElement.AnnotationTarget... target) Create a new annotation with the given name and return its builder to continue configuring it. -
build
Configuration build()
-