aboutsummaryrefslogtreecommitdiff
path: root/test/pretty/resource/after
diff options
context:
space:
mode:
Diffstat (limited to 'test/pretty/resource/after')
-rw-r--r--test/pretty/resource/after/TypeAnnotations.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/pretty/resource/after/TypeAnnotations.java b/test/pretty/resource/after/TypeAnnotations.java
index 760b5ef8..aa93f173 100644
--- a/test/pretty/resource/after/TypeAnnotations.java
+++ b/test/pretty/resource/after/TypeAnnotations.java
@@ -9,6 +9,12 @@ public class TypeAnnotations {
@Target(ElementType.TYPE_USE)
@interface Bar {
}
+ @Target(ElementType.TYPE_USE)
+ @interface Baz {
+ }
+ @Target(ElementType.TYPE_USE)
+ @interface Bat {
+ }
public List<@Foo String> test(@Foo String param) {
@Bar
String local = "bar";
@@ -19,4 +25,10 @@ public class TypeAnnotations {
public <@Foo T extends java.lang.@Foo Number> T test2(@Bar String... varargs) {
return null;
}
+ public void test3(String[][] arg, String[]... arg2) {
+ @Baz
+ String @Bar [] @Foo [] x;
+ }
+ public void test4(@Foo String @Bar [] @Baz [] @Bat ... y) {
+ }
}