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.Builderannotation(String annotationName, AnnotationElement.AnnotationTarget... target)Create a new annotation with the given name and return its builder to continue configuring it.AnnotationAttributeConfiguration.Builderattribute(String name)Add a new attribute with the given name to the current annotation and return the builder to continue to configure this attribute.Configurationbuild()AnnotationConfiguration.BuildermetadataCreator(AnnotationMetadataCreator<?,? extends AnnotatedDescriptor> annotationMetadataCreator)Attach a metadata creator for this annotation and return the same builder.AnnotationConfiguration.BuilderpackageName(String packageName)AnnotationConfiguration.Builderrepeatable(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)
-
packageName
AnnotationConfiguration.Builder packageName(String 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()
-
-