Package org.gradle.api.reflect
Annotationstyp 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.
- Seit:
- 5.3
-
Elementdetails
-
supportedTypes
Class<?>[] supportedTypesThe types which are supported for injection.- Standard:
{}
-
supportedProviderTypes
Class<?>[] supportedProviderTypesThe types ofProviders supported for injection.
If e.g.FileSystemLocationis in the list, then this annotation can be used for injectingProvider<FileSystemLocation>.- Seit:
- 5.5
- Standard:
{}
-