Wrapped annotations test data so it will be processed by namespace comparator correctly.

This commit is contained in:
Evgeny Gerashchenko
2013-03-11 17:02:06 +04:00
parent 0f5de451ec
commit f23327458f
18 changed files with 257 additions and 71 deletions

View File

@@ -1,14 +1,16 @@
package test;
import java.lang.String;
import java.lang.annotation.ElementType;
import java.lang.annotation.Target;
@interface MyAnnotation {
String[] value();
}
public interface AnnotationWithEmptyArrayInParam {
@MyAnnotation({})
class A {
public @interface MyAnnotation {
String[] value();
}
@MyAnnotation({})
public class A {
}
}