InjectionPointQualifier (Gradle API 8.11)

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
    --- | --- | ---
    `java.lang.Class<?>[]` | `supportedProviderTypes` | The types of `Provider`s supported for injection.
    `java.lang.Class<?>[]` | `supportedTypes` | The types which are supported for injection.

- - ### Element Detail

    - #### supportedTypes

          java.lang.Class<?>[] supportedTypes

      The types which are supported for injection.
      Default:
        {}

  - - #### supportedProviderTypes

          java.lang.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:
        {}