Interface AnnotationAttributeConfiguration


public interface AnnotationAttributeConfiguration
Since:
4.0
Author:
[email protected]
  • 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

      Set<String> 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

      boolean isAllowed(AnnotationElement.Value value)