Interface AnnotationType

All Superinterfaces:
AnnotatedElement, ExtensibleType<InterfaceModel>, InterfaceModel, Type
All Known Implementing Classes:
AnnotationTypeImpl

public interface AnnotationType extends InterfaceModel
Represents an annotation
Author:
Jerome Dochez
  • Method Details

    • allAnnotatedTypes

      Collection<AnnotatedElement> allAnnotatedTypes()
      Returns an unmodifiable collection of annotated element with this annotation
      Returns:
      collection of elements annotated with this annotation
    • getDefaultValues

      Map<String,Object> getDefaultValues()
      Returns an unmodifiable collection of annotation default values.
      Returns:
      collection of default value elements of this annotation
    • getDefaultValue

      Object getDefaultValue(String key)
      Returns the value to which the key is mapped
      Parameters:
      key - the key whose associated value is to be returned
      Returns:
      the default value.