mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-04-05 08:31:31 +00:00
Wrapped annotations test data so it will be processed by namespace comparator correctly.
This commit is contained in:
@@ -1,35 +1,38 @@
|
||||
package test;
|
||||
|
||||
@interface MyAnnotationWithParam {
|
||||
MyAnnotation value();
|
||||
}
|
||||
public interface AnnotationWithAnnotationInParam {
|
||||
|
||||
@interface MyAnnotation {
|
||||
String value();
|
||||
}
|
||||
public @interface MyAnnotationWithParam {
|
||||
MyAnnotation value();
|
||||
}
|
||||
|
||||
@MyAnnotationWithParam(@MyAnnotation("test"))
|
||||
class A {}
|
||||
public @interface MyAnnotation {
|
||||
String value();
|
||||
}
|
||||
|
||||
@interface MyAnnotation2 {
|
||||
String[] value();
|
||||
}
|
||||
@MyAnnotationWithParam(@MyAnnotation("test"))
|
||||
public class A {}
|
||||
|
||||
@interface MyAnnotationWithParam2 {
|
||||
MyAnnotation2 value();
|
||||
}
|
||||
public @interface MyAnnotation2 {
|
||||
String[] value();
|
||||
}
|
||||
|
||||
@MyAnnotationWithParam2(@MyAnnotation2({"test", "test2"}))
|
||||
class B {}
|
||||
public @interface MyAnnotationWithParam2 {
|
||||
MyAnnotation2 value();
|
||||
}
|
||||
|
||||
@interface MyAnnotation3 {
|
||||
String first();
|
||||
String second();
|
||||
}
|
||||
@MyAnnotationWithParam2(@MyAnnotation2({"test", "test2"}))
|
||||
public class B {}
|
||||
|
||||
@interface MyAnnotationWithParam3 {
|
||||
MyAnnotation3 value();
|
||||
}
|
||||
public @interface MyAnnotation3 {
|
||||
String first();
|
||||
String second();
|
||||
}
|
||||
|
||||
@MyAnnotationWithParam3(@MyAnnotation3(first = "f", second = "s"))
|
||||
class C {}
|
||||
public @interface MyAnnotationWithParam3 {
|
||||
MyAnnotation3 value();
|
||||
}
|
||||
|
||||
@MyAnnotationWithParam3(@MyAnnotation3(first = "f", second = "s"))
|
||||
public class C {}
|
||||
}
|
||||
Reference in New Issue
Block a user