Do not report inspection "no reflection" in annotation entries
Annotation codegen shouldn't use something from reflection.jar
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user