mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-03-23 00:21:31 +00:00
Load Class<?> as KClass<*> for Java annotations parameters
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package test;
|
||||
|
||||
public class ClassObjectInParamRaw {
|
||||
public @interface Anno {
|
||||
Class value();
|
||||
Class[] arg();
|
||||
}
|
||||
|
||||
@Anno(value = ClassObjectInParamRaw.class, arg = {})
|
||||
public static class Nested {}
|
||||
}
|
||||
Reference in New Issue
Block a user