Package groovy.lang.annotation

# Annotation Interface ExtendedTarget

@Retention(RUNTIME) @Target(ANNOTATION_TYPE) public @interface ExtendedTarget
Indicates Groovy-specific element types on which an annotation is allowed, complementing `Target` for constructs that have no corresponding `ElementType`.

Since:
  6.0.0
See Also:
  - `ExtendedElementType`

- ## Required Element Summary

  Required Elements
  Modifier and Type
  Required Element
  Description
  `ExtendedElementType[]`
  `value`
  Returns the Groovy-specific element types accepted by the annotated annotation.

- ## Element Details

  - ### value

    ExtendedElementType[] value
    Returns the Groovy-specific element types accepted by the annotated annotation.
    Returns:
      the extended target element types