aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/WithByInAnonymousClass.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/before/WithByInAnonymousClass.java')
-rw-r--r--test/transform/resource/before/WithByInAnonymousClass.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/transform/resource/before/WithByInAnonymousClass.java b/test/transform/resource/before/WithByInAnonymousClass.java
new file mode 100644
index 00000000..afed6adf
--- /dev/null
+++ b/test/transform/resource/before/WithByInAnonymousClass.java
@@ -0,0 +1,13 @@
+//version 8:
+import lombok.experimental.WithBy;
+
+public class WithByInAnonymousClass {
+ Object annonymous = new Object() {
+ @WithBy
+ class Inner {
+ private Inner(String string) { }
+
+ private String string;
+ }
+ };
+} \ No newline at end of file