Struggling to make *kapt*/Dagger2 generate a non-g...
# dagger
d
Struggling to make *kapt*/Dagger2 generate a non-generic
_ProvidesMyClassFactory.java
... I have a generic
MyClass<Param>
class which I can't modify - it's provided by a framework which also uses Dagger, but the Dagger setup demands a plain, non-generic
MyClass
. Java is pretty easy going about this and doesn't care. Enter Kotlin which is always generating as
MyClass<?>
signature which Dagger won't match with
MyClass
no matter how many applications of
@JvmSuppressWildcards
I seem to make.