title: Android studio warning - InnerClass annotations are missing corresponding EnclosingMember annotations
body: <p>I recently upgraded to Android Studio 3.1 and upon building my Kotlin with Java project I got the following warning.</p>
  <blockquote>
  <p>InnerClass annotations are missing corresponding EnclosingMember
  annotations. Such InnerClass annotations are ignored.</p>
  <p>Message {kind=WARNING, text=InnerClass annotations are missing
  corresponding EnclosingMember annotations. Such InnerClass annotations
  are ignored., sources=[Unknown source file]}</p>
  </blockquote>
  <p>Here are my Gradle details.</p>
  <pre><code>android {
  compileSdkVersion 27
  //buildToolsVersion '27.0.3'
  defaultConfig {
      minSdkVersion 16
      targetSdkVersion 27
      applicationId &quot;org.myapp&quot;
      versionCode generateVersionCode()
    //...
      multiDexEnabled true
  }
  
  compileOptions {
      sourceCompatibility JavaVersion.VERSION_1_8
      targetCompatibility JavaVersion.VERSION_1_8
  }
  </code></pre>
  <p>It doesn't direct me to where the issue is. How can I locate the offending code?</p>
  <p><a href="https://i.stack.imgur.com/OBZeD.png" rel="noreferrer"><img src="https://i.stack.imgur.com/OBZeD.png" alt="enter image description here" /></a></p>