Do not report inspection "no reflection" in annotation entries

Annotation codegen shouldn't use something from reflection.jar
This commit is contained in:
Denis Zharkov
2015-04-22 20:06:07 +03:00
parent 14df5b72b7
commit 470ad93328
3 changed files with 27 additions and 0 deletions
@@ -0,0 +1,15 @@
package test
// WITH_RUNTIME
import kotlin.reflect.KClass
annotation class A(val arg: KClass<*>, val args: Array<KClass<*>>, vararg val other: KClass<*>)
A(Int::class, array(String::class), Double::class, Char::class)
class MyClass {
throws(Exception::class)
fun foo() {
Exception::class
}
}