You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 26, 2021. It is now read-only.
Dagger will ignore qualifier annotations on parameters that are not @Inject constructor parameters or @Provides method parameters: param2
This is a kind of useless because in this case, the generated factory class will use the annotation correctly. Also there is no way to hide the warning (unless there is one, in which case please tell me).
The text was updated successfully, but these errors were encountered:
When using AutoFactory with qualifier annotations like this
@AutoFactorypublic class MyClass {
public MyClass(int param, @provided @QualifierA Object param2) {
}}
Dagger will issue the following warning:
Dagger will ignore qualifier annotations on parameters that are not @Inject constructor parameters or @provides method parameters: param2
This is a kind of useless because in this case, the generated factory
class will use the annotation correctly. Also there is no way to hide the
warning (unless there is one, in which case please tell me).
—
Reply to this email directly or view it on GitHub #419.
Eclipse might not know about it - it might not exist, but even if it did,
if it's in the annotation processor, there's no information for eclipse to
access to know about it. I'll dig in. What I will say is that if we
preserve this warning in Dagger 2, there for sure will be a suppression
option.
When using AutoFactory with qualifier annotations like this
Dagger will issue the following warning:
This is a kind of useless because in this case, the generated factory class will use the annotation correctly. Also there is no way to hide the warning (unless there is one, in which case please tell me).
The text was updated successfully, but these errors were encountered: