title: Pass annotation to a function in Kotlin
body: <p>How can I pass an annotion instance to a function?</p>
  
  <p>I would like to call the java method <code>AbstractCDI.select(Class&lt;T&gt; type, Annotation... qualifiers)</code>. But I don't know how to pass an annotation instance to this method. </p>
  
  <p>Calling the constructor like
  <code>cdiInstance.select(MyClass::javaClass, MyAnnotation())</code>
   is not allowed and the @Annotation-Syntax <code>cdiInstance.select(MyClass::javaClass, @MyAnnotation)</code> is not allowed as parameter, too. How can I archive this?</p>