mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-04-03 15:52:00 +00:00
Rename LoadJava annotations test data
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
package test;
|
||||
|
||||
public interface AnnotationInParam {
|
||||
|
||||
public @interface MyAnnotationWithParam {
|
||||
MyAnnotation value();
|
||||
}
|
||||
|
||||
public @interface MyAnnotation {
|
||||
String value();
|
||||
}
|
||||
|
||||
@MyAnnotationWithParam(@MyAnnotation("test"))
|
||||
public class A {}
|
||||
|
||||
public @interface MyAnnotation2 {
|
||||
String[] value();
|
||||
}
|
||||
|
||||
public @interface MyAnnotationWithParam2 {
|
||||
MyAnnotation2 value();
|
||||
}
|
||||
|
||||
@MyAnnotationWithParam2(@MyAnnotation2({"test", "test2"}))
|
||||
public class B {}
|
||||
|
||||
public @interface MyAnnotation3 {
|
||||
String first();
|
||||
String second();
|
||||
}
|
||||
|
||||
public @interface MyAnnotationWithParam3 {
|
||||
MyAnnotation3 value();
|
||||
}
|
||||
|
||||
@MyAnnotationWithParam3(@MyAnnotation3(first = "f", second = "s"))
|
||||
public class C {}
|
||||
}
|
||||
Reference in New Issue
Block a user