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