diff options
Diffstat (limited to 'test/transform/resource/before/OnXJava8Style.java')
-rw-r--r-- | test/transform/resource/before/OnXJava8Style.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/transform/resource/before/OnXJava8Style.java b/test/transform/resource/before/OnXJava8Style.java index ffb91727..7e77e36e 100644 --- a/test/transform/resource/before/OnXJava8Style.java +++ b/test/transform/resource/before/OnXJava8Style.java @@ -8,9 +8,17 @@ public class OnXJava8Style { 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; } |