dagger-intellij-plugin icon indicating copy to clipboard operation
dagger-intellij-plugin copied to clipboard

Dagger2 @Provides(type=Set) and other collections fail

Open rjuang opened this issue 9 years ago • 1 comments

Return type of a provider method needs to be converted to the appropriate collection type when @Provides has an annotation parameter type=SET or SET_VALUES, or MAP.

This is mainly a note to myself. I'll fix this on another free day.

rjuang avatar Nov 22 '16 09:11 rjuang

@Provides(type=SET) should now be resolved by pull request #26. Still need to figure out how to resolve @Provides(type=MAP) correctly.

rjuang avatar Nov 27 '16 17:11 rjuang