Skip to content

Support for TYPE_USE for custom @Qualifier annotations #4794

Description

@vlsi

Currently, Dagger does not seem to support TYPE_USE qualifier target, so the following code does not compile:

...Provider<@Named("app.config") Properties>...

It would be great if Dagger supported TYPE_USE for @Qualifiers as the qualifier seems to belong to a type rather than method/field/class.

At the same time, it might be worth recommending TYPE_USE as the only target for @Qualifier implementations.

See:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions