Interface AnnotationAttributeConfiguration
public interface AnnotationAttributeConfiguration
- Since:
- 4.0
- Author:
- [email protected]
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe set of allowed values.The default value (optional)boolean
isAllowed
(AnnotationElement.Value value) boolean
multiple()
Is it a single value or an array of values?name()
The name of the annotation element (required).The optional package nametype()
The type.
-
Method Details
-
name
String name()The name of the annotation element (required). -
packageName
String packageName()The optional package name -
type
The type. Defaults to String if not explicitly set. -
multiple
boolean multiple()Is it a single value or an array of values? -
defaultValue
Object defaultValue()The default value (optional) -
allowedValues
The set of allowed values. This is only used with STRING, IDENTIFIER, or ANNOTATION type. ANNOTATION type must have a single allowed value. -
isAllowed
-