diff options
Diffstat (limited to 'test/transform/resource/after-delombok/OnXJava7Style.java')
-rw-r--r-- | test/transform/resource/after-delombok/OnXJava7Style.java | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/OnXJava7Style.java b/test/transform/resource/after-delombok/OnXJava7Style.java index 7ebf65a3..67f8c8c8 100644 --- a/test/transform/resource/after-delombok/OnXJava7Style.java +++ b/test/transform/resource/after-delombok/OnXJava7Style.java @@ -6,11 +6,18 @@ public class OnXJava7Style { @interface Bar { String stuff() default ""; } + @interface Array { + String[] value() default {}; + } String a; String b; String c; String d; String e; + String f; + String g; + String h; + String i; @Foo @java.lang.SuppressWarnings("all") public String getA() { @@ -35,4 +42,27 @@ public class OnXJava7Style { public String getE() { return this.e; } + @Array + @java.lang.SuppressWarnings("all") + public String getF() { + return this.f; + } + + @Array + @java.lang.SuppressWarnings("all") + public String getG() { + return this.g; + } + + @Array({}) + @java.lang.SuppressWarnings("all") + public String getH() { + return this.h; + } + + @Array({"a", "b"}) + @java.lang.SuppressWarnings("all") + public String getI() { + return this.i; + } } |