title: When using @Qualifier, [Dagger/MissingBinding] int[] cannot be provided without an @Provides-annotated method
body: <p>I've written the code below to get me an <code>IntArray</code> and it works fine when I'm not annotating it with <code>@Qualifer</code>, but when I do, I get the error message below:</p>
  
  <p>My module file (both annotation and modules are in same file)</p>
  
  <pre class="lang-kotlin prettyprint-override"><code>@Qualifier
  @MustBeDocumented
  @Retention(AnnotationRetention.RUNTIME)
  @Target(AnnotationTarget.FUNCTION, AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.FIELD)
  annotation class ItemColorArray
  
  @Module
  class ModuleGeneral {
      @Provides
      @ItemColorArray
      fun provideItemColorArray(context: Context): IntArray {
          return context.resources.getIntArray(R.array.timetableItems)
      }
  }
  
  </code></pre>
  
  <p>Usage inside a dialogFragment:</p>
  
  <pre class="lang-kotlin prettyprint-override"><code>@Inject
  @ItemColorArray
  lateinit var itemColorArray: IntArray
  </code></pre>
  
  <p>Error message: </p>
  
  <pre><code>{fileAddress}\di\AppComponent.java:8: error: [Dagger/MissingBinding] int[] cannot be provided without an @Provides-annotated method.
  public abstract interface AppComponent {
                  ^
        int[] is injected at
            {packageName}.ui.dialogs.addSubject.AddSubjectDialog.itemColorArray
  </code></pre>
  
  <p>Again, everything works fine when I'm not using any <code>@Qualifier</code>. Using the <code>@Named("xxx")</code> qualifier  produces the same error.
  Thanks in advance.</p>