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
  • Element Details

    • supportedTypes

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

      Class<?>[] supportedProviderTypes
      The types of Providers 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:
      {}