title: Override annotation required and not - Kotlin
body: <p>Related to : <a href="https://stackoverflow.com/questions/52652998/error-onactivityresult-overrides-nothing">Error: onActivityResult overrides nothing</a></p>
  
  <p>I've tried Dhaval Patel's solution and get the report that it overrides nothing from my parser.
  Omitting the override annotation reports that it hides the super method and override is required.  Is there an issue with my parser?</p>
  
  <p>How the documentation says to implement the method (which won't compile)
  <a href="https://developer.android.com/training/basics/intents/result" rel="nofollow noreferrer">https://developer.android.com/training/basics/intents/result</a></p>
  
  <p>How I only get a parser warning - overrides nothing, override redundant</p>
  
  <pre><code>override fun onActivityResult(requestCode:Int, resultCode:Int, data:Intent?) 
  </code></pre>
  
  <p>How I get a compile error - override annotation required:</p>
  
  <pre><code>fun onActivityResult(requestCode:Int, resultCode:Int, data:Intent?)
  </code></pre>