diff options
Diffstat (limited to 'test/transform/resource/before/OnXJava7StyleOn8.java')
-rw-r--r-- | test/transform/resource/before/OnXJava7StyleOn8.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/transform/resource/before/OnXJava7StyleOn8.java b/test/transform/resource/before/OnXJava7StyleOn8.java index 94865c97..bbf007c2 100644 --- a/test/transform/resource/before/OnXJava7StyleOn8.java +++ b/test/transform/resource/before/OnXJava7StyleOn8.java @@ -10,9 +10,17 @@ public class OnXJava7StyleOn8 { String stuff() default ""; } + @interface Array { + String[] value() default {}; + } + @lombok.Getter(onMethod=@__(@Foo)) String a; @lombok.Setter(onMethod=@__(@Foo())) String b; @lombok.Setter(onParam=@__(@Foo("a"))) String c; @lombok.Setter(onParam=@__(@Bar(stuff="b"))) String d; @lombok.Getter(onMethod=@__({@Foo(value="c"), @Bar(stuff="d")})) String e; + @lombok.Getter(onMethod=@__(@Array)) String f; + @lombok.Getter(onMethod=@__(@Array())) String g; + @lombok.Getter(onMethod=@__(@Array({}))) String h; + @lombok.Getter(onMethod=@__(@Array({"a", "b"}))) String i; } |