diff options
Diffstat (limited to 'test/transform/resource/before/ConstructorsInAnonymousClass.java')
-rw-r--r-- | test/transform/resource/before/ConstructorsInAnonymousClass.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/transform/resource/before/ConstructorsInAnonymousClass.java b/test/transform/resource/before/ConstructorsInAnonymousClass.java new file mode 100644 index 00000000..a74a7f11 --- /dev/null +++ b/test/transform/resource/before/ConstructorsInAnonymousClass.java @@ -0,0 +1,18 @@ +//version 8: +import lombok.AllArgsConstructor; +import lombok.NoArgsConstructor; +import lombok.NonNull; +import lombok.RequiredArgsConstructor; + +public class ConstructorsInAnonymousClass { + Object annonymous = new Object() { + @AllArgsConstructor + @RequiredArgsConstructor + @NoArgsConstructor + class Inner { + private String string; + @NonNull + private String string2; + } + }; +}
\ No newline at end of file |