title: java.lang.IllegalArgumentException: @kotlin.Metadata does not define an element error when converting code from Java to Kotlin
body: <p>I'm trying to convert one class file in one of our modules in our application from java to Kotlin but I get this error message when trying to build. </p>
  
  <p>The line that causes this error is using dagger <code>@Inject</code> 
  removing <code>@Inject</code> will make the error go away. </p>
  
  <pre><code>* What went wrong:
  Execution failed for task 'processX86DebugAnnotationsWithJavac'.
  &gt; java.lang.IllegalArgumentException: @kotlin.Metadata does not define an element k()
  </code></pre>
  
  <p>Our main module that uses this module is written completely in Java and has no Kotlin related code in it. 
  <p>
  Any suggestions?</p>