public static final class AnnotationAttributeConfig.Builder<DescriptorType extends AnnotatedDescriptor>
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String[] |
allowedValues |
private java.lang.Object |
defaultValue |
private boolean |
isMultiple |
private java.lang.String |
name |
private AnnotationConfig.Builder<DescriptorType> |
parentBuilder |
private AnnotationAttributeConfig.AttributeType |
type |
| Constructor and Description |
|---|
Builder(AnnotationConfig.Builder<DescriptorType> parentBuilder,
java.lang.String name) |
private final AnnotationConfig.Builder<DescriptorType extends AnnotatedDescriptor> parentBuilder
private final java.lang.String name
private boolean isMultiple
private java.lang.Object defaultValue
private AnnotationAttributeConfig.AttributeType type
private java.lang.String[] allowedValues
Builder(AnnotationConfig.Builder<DescriptorType> parentBuilder, java.lang.String name)
public AnnotationAttributeConfig.Builder<DescriptorType> multiple(boolean isMultiple)
public AnnotationAttributeConfig.Builder<DescriptorType> defaultValue(java.lang.Object defaultValue)
public AnnotationAttributeConfig.Builder<DescriptorType> annotationType(java.lang.String... allowedAnnotations)
public AnnotationAttributeConfig.Builder<DescriptorType> identifierType(java.lang.String... allowedValues)
public AnnotationAttributeConfig.Builder<DescriptorType> stringType(java.lang.String... allowedValues)
public AnnotationAttributeConfig.Builder<DescriptorType> characterType()
public AnnotationAttributeConfig.Builder<DescriptorType> booleanType()
public AnnotationAttributeConfig.Builder<DescriptorType> intType()
public AnnotationAttributeConfig.Builder<DescriptorType> longType()
public AnnotationAttributeConfig.Builder<DescriptorType> floatType()
public AnnotationAttributeConfig.Builder<DescriptorType> doubleType()
public AnnotationAttributeConfig.Builder<DescriptorType> attribute(java.lang.String name)
public AnnotationConfig.Builder<DescriptorType> annotationMetadataCreator(AnnotationMetadataCreator<?,DescriptorType> annotationMetadataCreator)
AnnotationAttributeConfig buildAnnotationAttributeConfig()
public Configuration build()