title: Dagger 2 multibindings with Kotlin
body: <p>I have the following snippet in my dagger 2 module</p>
  
  <pre><code>@Singleton
  @Provides
  @ElementsIntoSet
  fun providesQueries(foo: Foo): Set&lt;Foo&gt;{
      val queries = LinkedHashSet&lt;Foo&gt;()
      queries.add(foo)
      return queries
  }
  </code></pre>
  
  <p>I try to inject into in this way</p>
  
  <pre><code>@Inject lateinit var foo: Set&lt;Foo&gt;
  </code></pre>
  
  <p>But dagger shows an error which says that Dagger cannot provides java.util.Set without @Provides or @Produces method.</p>
  
  <p>I did the same in java and it worked. Does somebody know why is it failing?</p>