title: Kotlin + Spring AliasFor
body: <p>I've been trying to use Springs <code>@AliasFor</code> annotation in a Kotlin project but it seems that the annotation on the annotation parameter isn't visible at runtime (hence it's not picked up by Spring).</p>
  
  <p>For example:</p>
  
  <pre class="lang-java prettyprint-override"><code>@RequestMapping(method = arrayOf(RequestMethod.POST))
  annotation class PostMapping(
      @get:AliasFor(annotation = RequestMapping::class, attribute = "value")
      vararg val value: String = arrayOf())
  </code></pre>
  
  <p>And...</p>
  
  <pre class="lang-java prettyprint-override"><code>// Returns empty array instead of array with the @AliasFor annotation
  PostMapping::class.java.methods[0].annotations
  </code></pre>
  
  <p>Is there something I'm missing?</p>