diff options
Diffstat (limited to 'test/transform/resource/after-delombok')
-rw-r--r-- | test/transform/resource/after-delombok/OnXJava7Style.java | 30 | ||||
-rw-r--r-- | test/transform/resource/after-delombok/OnXJava8Style.java | 31 |
2 files changed, 61 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; + } } diff --git a/test/transform/resource/after-delombok/OnXJava8Style.java b/test/transform/resource/after-delombok/OnXJava8Style.java index d2f76e10..18fc6686 100644 --- a/test/transform/resource/after-delombok/OnXJava8Style.java +++ b/test/transform/resource/after-delombok/OnXJava8Style.java @@ -6,11 +6,19 @@ public class OnXJava8Style { @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 +43,27 @@ public class OnXJava8Style { 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; + } } |