New J2K: add multi-file conversion tests from old j2k
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package test;
|
||||
|
||||
public class Some {
|
||||
@SomeAnnotation(some = "Foo", same = 0)
|
||||
public void foo() {
|
||||
|
||||
}
|
||||
|
||||
@SomeAnnotation(some = {"Bar", "Buz"}, same = {1, 2})
|
||||
public void bar() {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package test
|
||||
|
||||
class Some {
|
||||
@SomeAnnotation(some = ["Foo"], same = [0])
|
||||
fun foo() {
|
||||
}
|
||||
|
||||
@SomeAnnotation(some = ["Bar", "Buz"], same = [1, 2])
|
||||
fun bar() {
|
||||
}
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
package test;
|
||||
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target({ElementType.TYPE, ElementType.METHOD})
|
||||
public @interface SomeAnnotation {
|
||||
String[] some() default {};
|
||||
int[] same() default {};
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
package test;
|
||||
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target({ElementType.TYPE, ElementType.METHOD})
|
||||
public @interface SomeAnnotation {
|
||||
String[] some() default {};
|
||||
int[] same() default {};
|
||||
}
|
||||
Reference in New Issue
Block a user