Wrapped annotations test data so it will be processed by namespace comparator correctly.
This commit is contained in:
+9
-7
@@ -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 {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user