mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
Add light class test for annotation class
This commit is contained in:
14
compiler/testData/asJava/lightClasses/annotationClass.java
vendored
Normal file
14
compiler/testData/asJava/lightClasses/annotationClass.java
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
@java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.RUNTIME)
|
||||
public @interface Anno {
|
||||
int i();
|
||||
|
||||
int j() default 5;
|
||||
|
||||
java.lang.String value() default "a";
|
||||
|
||||
double d() default 0.0;
|
||||
|
||||
int[] ia();
|
||||
|
||||
int[] ia2() default {1, 2, 3};
|
||||
}
|
||||
Reference in New Issue
Block a user