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,10 +1,12 @@
package test;
@MyAnnotation(first = "f", second = "s")
class MyTest {}
public interface CustomAnnotationWithDefaultParameter {
@interface MyAnnotation {
String first();
String second() default("s");
@MyAnnotation(first = "f", second = "s")
public class MyTest {}
public @interface MyAnnotation {
String first();
String second() default("s");
}
}