mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-03-23 00:21:31 +00:00
Support Class<?> as annotation arguments in java
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
package test;
|
||||
|
||||
public class ClassObjectArrayInParam {
|
||||
public @interface Anno {
|
||||
Class<?>[] value();
|
||||
}
|
||||
|
||||
@Anno({ClassObjectArrayInParam.class, Nested.class, String.class})
|
||||
public static class Nested {}
|
||||
}
|
||||
Reference in New Issue
Block a user