Package org.gradle.api.reflect

# Annotation Type InjectionPointQualifier

@Retention(RUNTIME) @Target(ANNOTATION_TYPE) @Documented public @interface InjectionPointQualifier
The annotated annotation can be used to inject elements of the supported types.

If both `supportedTypes()` and `supportedProviderTypes()` are empty, all types are supported.

Since:
  5.3

- ## Optional Element Summary

  Optional Elements
  Modifier and Type
  Optional Element
  Description
  `Class<?>[]`
  `supportedProviderTypes`
  The types of `Provider`s supported for injection.
  `Class<?>[]`
  `supportedTypes`
  The types which are supported for injection.

- ## Element Details

  - ### supportedTypes

    Class<?>[] supportedTypes
    The types which are supported for injection.
    Default:
      `{}`

  - ### supportedProviderTypes

    Class<?>[] supportedProviderTypes
    The types of `Provider`s supported for injection.
    If e.g. `FileSystemLocation` is in the list, then this annotation can be used for injecting `Provider`<`FileSystemLocation`>.
    Since:
      5.5
    Default:
      `{}`