Interface AnnotationAttributeConfiguration.Builder
-
- Enclosing interface:
- AnnotationAttributeConfiguration
public static interface AnnotationAttributeConfiguration.Builder
-
-
Method Summary
-
-
-
Method Detail
-
type
AnnotationAttributeConfiguration.Builder type(AnnotationElement.AttributeType type)
The type. Defaults to String if not explicitly set.
-
multiple
AnnotationAttributeConfiguration.Builder multiple(boolean isMultiple)
-
defaultValue
AnnotationAttributeConfiguration.Builder defaultValue(Object defaultValue)
-
allowedValues
AnnotationAttributeConfiguration.Builder allowedValues(String... allowedValues)
-
metadataCreator
AnnotationAttributeConfiguration.Builder metadataCreator(AnnotationMetadataCreator<?,? extends AnnotatedDescriptor> annotationMetadataCreator)
-
repeatable
AnnotationAttributeConfiguration.Builder repeatable(String containingAnnotationName)
-
attribute
AnnotationAttributeConfiguration.Builder attribute(String name)
Create a new attribute with the given name and return the builder to configure it.
-
packageName
AnnotationAttributeConfiguration.Builder packageName(String packageName)
Sets the optional package name
-
parentBuilder
@Deprecated AnnotationConfiguration.Builder parentBuilder()
Deprecated.just callannotation(String, AnnotationElement.AnnotationTarget...)
directly- Returns:
- the parent builder in order to allow defining more annotations
-
annotation
AnnotationConfiguration.Builder annotation(String annotationName, AnnotationElement.AnnotationTarget... target)
Starts the creation of a new annotation with the given name and return its builder to continue define it.
-
build
Configuration build()
-
-